UNSQUASHFS(1) UNSQUASHFS(1) (NAME) unsquashfs - squashfs (SYNOPSIS) unsquashfs [OPTIONS] FILESYSTEM [files to extract or exclude (with -excludes) or cat (with -cat )] (DESCRIPTION) Squashfs . gzip/xz/lzo/lz4/zstd inode . Inode . 4K 1Mbytes ( 128K ). Squashfs ( .tar.gz ) / ( ) . (OPTIONS) ( ) : -d PATHNAME, -dest PATHNAME PATHNAME "squashfs-root". . -max LEVELS, -max-depth LEVELS LEVELS . -excludes (exclude) . -ex, -exclude-list ; file1 file2 ;. -extract-file FILE . . -exclude-file FILE . . -match . -missing-symlinks -no-wildcards . -follow, -follow-symlinks / . -no-wildcards . -missing, -missing-symlinks -follow-symlinks Unsquashfs . -no-wild, -no-wildcards (wildcard) . -r, -regex POSIX (globbing). -all TIME, -all-time TIME TIME inode . TIME (1970-01-01) "date" . date "now" "last week" "Wed Feb 15 21:02:39 GMT 2023". -cat (stdout). -f, -force (unlink) . -pf FILE (pseudo file) Squashfs - (stdout) . : -s, -stat (superblock) . -max LEVELS, -max-depth LEVELS LEVELS . -i, -info . -li, -linfo ( ls -l). -l, -ls . -ll, -lls ( ls -l) . -lln, -llnumeric -lls uid gid. -lc . -llc . -full, -full-precision . -linfo -lls -lln -llc. -UTC (UTC) . -mkfs-time (1970-01-01) . (xattrs): -no, -no-xattrs xattr . -x, -xattrs xattr (). -xattrs-exclude REGEX xattr REGEX. REGEX POSIX -xattrs-exclude '^user.' . -xattrs-include REGEX xattr REGEX. REGEX POSIX -xattrs-include '^user.' . Unsquashfs: -v, -version . -p NUMBER, -processors NUMBER NUMBER . . -mem SIZE SIZE (). K M G . 512 Mbytes . -mem-percent PERCENT PERCENT (). -q, -quiet (verbose). -n, -no-progress . -percentage . dialog --gauge . -ig, -ignore-errors . -st, -strict-errors . -no-exit, -no-exit-code ( ) . : -h, -help ( stdout ). -help-option REGEX REGEX ( stdout ). -help-section SECTION SECTION ( stdout ). SECTION . "list" . -help-all Unsquashfs ( stdout ). -ho REGEX -help-option. -hs SECTION -help-section. -ha -help-all. -no-pager . -cols WIDTH WIDTH . . : -o BYTES, -offset BYTES BYTES FILESYSTEM. K M G ( 0 ). -fstime -mkfs-time. -e, -ef EXTRACT FILE -extract-file. -exc, -excf EXCLUDE FILE -exclude-file. -L -follow-symlinks. -pseudo-file FILE -pf. (EXIT STATUS) 0 . 1 / (I/O). Unsquashfs . 2 XATTR . Unsquashfs . -ignore-errors -strict-errors -no-exit-code . (DECOMPRESSORS AVAILABLE) gzip, lzo, lz4, xz, zstd, lzma (ENVIRONMENT) SQFS_CMDLINE sqfs_cmdline Unsquashfs . . . PAGER . . /usr/bin/pager . (EXAMPLES) unsquashfs IMAGE.SQFS IMAGE.SQFS "squashfs-root" . unsquashfs -d output IMAGE.SQFS IMAGE.SQFS "output" . unsquashfs -d . IMAGE.SQFS IMAGE.SQFS . unsquashfs -linfo IMAGE.SQFS IMAGE.SQFS (stdout) "squashfs-root". unsquashfs -lls IMAGE.SQFS IMAGE.SQFS (stdout) . "squashfs-root" . unsquashfs -d "" -lls IMAGE.SQFS IMAGE.SQFS (stdout) . "squashfs-root" . unsquashfs IMAGE.SQFS fs/squashfs "fs/squashfs". unsquashfs IMAGE.SQFS "[Tt]est/example*" "example" "Test" "test". unsquashfs -excludes IMAGE.SQFS "test/*data*.gz" *data*.gz test . -excludes Unsquashfs . unsquashfs -excludes IMAGE.SQFS "... *.gz" *.gz . "..." ( ) . unsquashfs -ex "test/*data*.gz" ; IMAGE.SQFS test Unsquashfs "test" *data*.gz . unsquashfs -ex "... *.gz" IMAGE.SQFS test Unsquashfs "test" "*.gz" "test" . unsquashfs -dest output -max-depth 2 IMAGE.SQFS IMAGE.SQFS "output". unsquashfs -max-depth 2 IMAGE.SQFS "test/*.gz" gzipped test. unsquashfs -llc -max-depth 2 IMAGE.SQFS "test/*.gz" gzipped test (stdout) . unsquashfs -no-xattrs IMAGE.SQFS . . unsquashfs -xattrs-include "^user." IMAGE.SQFS Squashfs. unsquashfs -xattrs-exclude "^user." IMAGE.SQFS Squashfs. : (wildcard) Unsquashfs ( ) . (AUTHOR) Phillip Lougher (COPYRIGHT) (C) 2026 Phillip Lougher << >> ( ) . . << >> . (SEE ALSO) mksquashfs(1), sqfstar(1), sqfscat(1) README 4.7.5 Squashfs-tools : https://github.com/plougher/squashfs-tools/blob/master/Documentation/4.7.5/README.md Unsquashfs : https://github.com/plougher/squashfs-tools/blob/master/Documentation/4.7.5/USAGE-UNSQUASHFS.md (CHANGELOG) Squashfs : https://github.com/plougher/squashfs-tools/blob/master/CHANGES.md unsquashfs version 4.7.5 March 2026 UNSQUASHFS(1)