sqfstar
Create a squashfs filesystem from a .tar archive. tldr-pages
On Linux
Linux
Create a squashfs filesystem (compressed using gzip by default) from an uncompressed .tar archive
sqfstar <archive.tar filesystem.squashfsIdentifyCreate a squashfs filesystem from a .tar archive compressed with gzip, and [comp]ress the filesystem using a specific algorithm
zcat archive.tar.gz | sqfstar -comp gzip filesystem.squashfsIdentifyCreate a squashfs filesystem from a .tar archive compressed with xz, excluding some of the files
xzcat archive.tar.xz | sqfstar filesystem.squashfs file1 file2 ...IdentifyCreate a squashfs filesystem from a .tar archive compressed with zstd, excluding files ending with .gz
zstdcat archive.tar.zst | sqfstar filesystem.squashfs "*.gz"IdentifyCreate a squashfs filesystem from a .tar archive compressed with lz4, excluding files matching a regex
lz4cat archive.tar.lz4 | sqfstar filesystem.squashfs -regex "regex"Identify