FASTJAR(1)

πŸ’– FASTJAR(1) πŸ’–

okay bestie, so this is fastjar, from the GNU girlies, section 1 of your manual. buckle up πŸŽ€


✨ NAME ✨

fastjar β€” archive tool for Java archives πŸ«™βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

fastjar -ctxu [OPTIONS] [jar-file] [manifest-file] [-C dir] files...

🌸 DESCRIPTION 🌸

so fastjar is basically Sun's jar utility (the one that ships with the JDK) but rewritten entirely in C, and it runs in a fraction of the time while being feature compatible. it's giving glow-up. it's giving speed. we love her πŸ’…

if any file is a directory, it gets processed recursively πŸŒ€ β€” like, all the way down, no cap.

also important: the manifest file name and the archive file name need to be specified in the same order that the -m and -f flags are specified. don't mix that up, that's the vibe check πŸ™ˆ


✨ OPTIONS ✨

πŸŽ€ the actions (you must pick EXACTLY ONE, no exceptions)

  • -c β€” Create new archive. fresh start, new me energy ✨
  • -t β€” List table of contents for archive. just peeking πŸ‘€
  • -x β€” Extract named (or all) files from archive. let 'em out πŸ¦‹
  • -u β€” Update existing archive. glow-up in place πŸ’…
fr fr, exactly one of those four. not zero, not two. one. πŸ‘‘

🌈 the optional parameters

  • -@ β€” Read the names of the files to add to the archive from stdin. This option is supported only in combination with -c or -u. Non standard option added in the GCC version. (so it's a GCC exclusive, iykyk 😌)
  • -C directory β€” Change to the directory and include the following file. like a lil cd but for the archive πŸšͺ
  • -E β€” Prevent fastjar from reading the content of a directory when specifying one (and instead relying on the provided list of files to populate the archive with regard to the directory entry). Non standard option added in the GCC version. another GCC-only moment ✨
  • -M β€” Do not create a manifest file for the entries. manifest? never met her πŸ’€
  • -i β€” Generate an index of the packages in this jar and its Class-Path. index era πŸ“‡
  • -J β€” All options starting with -J are ignored. they're simply not invited to the party 🚫
  • -0 β€” Store only; use no ZIP compression. zero thoughts, head empty, no compression πŸ“
  • -V, --version β€” Display version information. who am i? πŸͺž
  • -f archive β€” Specify archive file name. πŸ“
  • -m manifest β€” Include manifest information from specified manifest file. πŸ“œ
  • -v β€” Generate verbose output on standard output. she's a talker πŸ—£οΈ

parameters of the form @option{@}FILE are considered to be names of files, and are expanded with the contents of the file. 🫢

and every remaining option? considered to be names of files. periodt. πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

gcj(1), gij(1), grepjar(1) and the Info entry for gcj.

go read those too bestie, they're all part of the same friend group 🌸


Copyright (C) 2002, 2007, 2008 Matthias Klose

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. A copy of the license is included in the man page gfdl(7).


k bye bestie, this was fastjar 0.97, dated 2008-10-16, and honestly? iconic. ate and left no crumbs πŸ‘‘πŸ’–βœ¨