LinuxCommandLibrary

unsquashfs

Uncompress, extract and list files in squashfs filesystems.

TLDR

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

$ unsquashfs [filesystem.squashfs]
copy


Extract a squashfs filesystem to the specified directory
$ unsquashfs -dest [path/to/directory] [filesystem.squashfs]
copy


Display the names of files as they are extracted
$ unsquashfs -info [filesystem.squashfs]
copy


Display the names of files and their attributes as they are extracted
$ unsquashfs -linfo [filesystem.squashfs]
copy


List files inside the squashfs filesystem (without extracting)
$ unsquashfs -ls [filesystem.squashfs]
copy


List files and their attributes inside the squashfs filesystem (without extracting)
$ unsquashfs -lls [filesystem.squashfs]
copy

Copied to clipboard