LSAR(1)

✨ LSAR(1) ✨

okay bestie, welcome to the lsar manual page β€” it's a User Commands situation and honestly it's giving "let me show u what's inside that archive" πŸ’…


πŸŽ€ NAME πŸŽ€

lsar β€” list archive file contents. that's it, that's the job, and she does it flawlessly πŸ¦‹


🌸 SYNOPSIS 🌸

lsar [OPTION]... ARCHIVE...

so you're gonna pass some *OPTION*s, then one or more *ARCHIVE*s, and she's gonna do her thing ✨


πŸ’– DESCRIPTION πŸ’–

List the contents of *ARCHIVE*s. like, peek inside. no unpacking, no drama, just vibes and filenames 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -l, -long β€” print more info about each file in the archive. not everything, just ✨more✨.
  • -L, -verylong β€” print ALL the available info about each file in the archive. she's not holding back, she's spilling everything πŸ’…
  • -t, -test β€” test the integrity of the files in the archive, if possible. a lil vibe check on ur files πŸ”₯
  • -p, -password PASSWORD β€” the password to use for decrypting protected archives. yes bestie, some archives are locked, this is the key πŸ”‘
  • -e, -encoding ENCODING β€” the encoding to use for filenames in the archive, when it is not known. if you don't specify it, the program attempts to auto-detect the encoding used. pass "help" or "list" as the argument and she'll give you a listing of all supported encodings πŸ“‹
  • -E, -password-encoding ENCODING β€” the encoding to use for the password for the archive, when it is not known. if you don't specify it, then either the encoding given by the -encoding option or the auto-detected encoding gets used. she reuses, she recycles 🌈
  • -pe, -print-encoding β€” print the auto-detected encoding and the confidence factor after the file list. receipts, basically 🧾✨
  • -i, -indexes β€” instead of specifying the files to list as filenames or wildcard patterns, specify them as indexes. numbers, not names πŸ”’
  • -j, -json β€” print the listing in JSON format. for the devs, for the scripts, for the pipeline girlies 🫢
  • -ja, -json-ascii β€” print the listing in JSON format, encoded as pure ASCII text. same JSON energy, ASCII-only delivery 🌸
  • -nr, -no-recursion β€” do NOT attempt to list the contents of archives contained in other archives. for instance, when listing a .tar.gz file, only list the .tar file and not its contents. she stops at the first layer, no digging deeper πŸ›‘
  • -h, -help β€” display help information πŸ†˜
  • -v, -version β€” print version and exit. quick lil hello then she's gone πŸ‘‹
ngl bestie, the -nr one matters β€” nested archives can get deep, and sometimes u just want the outer layer, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

unar(1) β€” her sibling, the one that actually unpacks stuff πŸ’œ


and that's the whole page, bestie!! slay πŸŽ€ this masterpiece comes to you from The Unarchiver, dated 2011-09-26, and it's the LSAR(1) page β€” iconic, timeless, fr fr πŸ’–βœ¨πŸ¦‹