PYSQUASHFS(1)

πŸ“¦ version 0.9.0, in ubuntu stonking

πŸ’– PYSQUASHFS(1) β€” the manual, but make it cute πŸ’–

okay bestie, gather round, because this is pysquashfs(1) and it's literally the moment. this little icon is a command-line tool for reading SquashFS 4.0 little-endian images, and honestly? she ate. πŸ“


✨ NAME ✨

pysquashfs β€” peek inside SquashFS 4.0 images and pull stuff out of them. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

pysquashfs list [options] file
pysquashfs extract [options] file
pysquashfs scan [options] file
pysquashfs -V | --version

🌸 DESCRIPTION 🌸

so pysquashfs is that girl: a cli tool for reading SquashFS 4.0 little-endian images. that's the whole vibe. πŸ’…

she's got three subcommands, and each one is a different main character:

  • list β€” lists what's inside a filesystem image. window shopping, basically. πŸ‘€
  • extract β€” pulls files or directories out of an image. she's not just looking, she's taking. πŸ’…
  • scan β€” searches through a file hunting for SquashFS 4.0 superblocks. detective mode, no cap. πŸ”

πŸ”₯ OPTIONS πŸ”₯

  • -V, --version β€” shows you the program version and dips out. that's it, that's the whole job. ✨

πŸŽ€ list

  • -o, --offset OFFSET β€” the absolute position where the filesystem starts. default is 0.
  • --utc β€” shows times in UTC. timezone-neutral, iconic behavior. 🌍
  • --showtz β€” shows the UTC offset when it's displaying time. so you know where in the world you're at.
  • -p, --path PATH β€” the absolute path of a directory or file to list. default is /.
  • -r, --recursive β€” lists recursively. goes all the way down. πŸ•³οΈ
  • -t, --type TYPE... β€” filters entries by file type. valid values are one or more of fdlpsbc. (yes, it's a little alphabet soup, but she's valid, leave her alone 🫢)

πŸ’œ extract

  • -o, --offset OFFSET β€” the absolute position where the filesystem starts. default is 0.
  • -d, --dest DIR β€” the destination directory for the extracted files. default is the current directory.
  • -p, --path PATH β€” the absolute path of the directory or file to extract. default is /.
  • -f, --force β€” overwrites files that already exist. she said move. 😀
  • -q, --quiet β€” does not print extraction status. silent but deadly, we love a low-profile queen. 🀫

🌈 scan

  • --utc β€” displays times in UTC.
  • --showtz β€” shows the UTC offset when displaying time.

🌟 ARGUMENTS 🌟

  • file β€” the path to the SquashFS image, or the input file, that you want to inspect. the star of the show, fr fr. ⭐

πŸ‘‘ EXIT STATUS πŸ‘‘

0 on success, non-zero on error. so if you get a big fat zero, you slayed. anything else? we don't talk about it. 😭


🧚 EXAMPLES 🧚

list the root of an image:

pysquashfs list image.squashfs

extract a directory:

pysquashfs extract -p /etc image.squashfs

scan a file for superblocks:

pysquashfs scan image.bin

πŸ’« SEE ALSO πŸ’«

ok so this is where the original page has the sign-off vibe β€” pysquashfs(1) comes to you courtesy of PySquashfsImage, dated March 2026. mwah. go read some images, bestie. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from