commands.sh

unsquashfs

linux

Uncompress, extract, and list files in squashfs filesystems.

More info →

Options (5)

-dboolean

Extract a squashfs filesystem to the specified directory

Example: unsquashfs {{[-d|-dest]}} {{path/to/directory}} {{filesystem.squashfs}}
-iboolean

Display the names of files as they are extracted

Example: unsquashfs {{[-i|-info]}} {{filesystem.squashfs}}
boolean

Display the names of files and their attributes as they are extracted

Example: unsquashfs {{[-li|-linfo]}} {{filesystem.squashfs}}
-lboolean

List files inside the squashfs filesystem (without extracting)

Example: unsquashfs {{[-l|-ls]}} {{filesystem.squashfs}}
boolean

List files and their attributes inside the squashfs filesystem (without extracting)

Example: unsquashfs {{[-ll|-lls]}} {{filesystem.squashfs}}

Examples (6)

Extract a squashfs filesystem to `squashfs-root` in the current working directory

unsquashfs filesystem.squashfs

Extract a squashfs filesystem to the specified directory

unsquashfs [-d|-dest] path/to/directory filesystem.squashfs

Display the names of files as they are extracted

unsquashfs [-i|-info] filesystem.squashfs

Display the names of files and their attributes as they are extracted

unsquashfs [-li|-linfo] filesystem.squashfs

List files inside the squashfs filesystem (without extracting)

unsquashfs [-l|-ls] filesystem.squashfs

List files and their attributes inside the squashfs filesystem (without extracting)

unsquashfs [-ll|-lls] filesystem.squashfs
made by @shridhargupta | data from tldr-pages