sqfstar

Create a squashfs filesystem from a tar archive. More information: https://manned.org/sqfstar.

sqfstar filesystem.squashfs < archive.tar

zcat archive.tar.gz | sqfstar -comp gzip|lzo|lz4|xz|zstd|lzma filesystem.squashfs

xzcat archive.tar.xz | sqfstar filesystem.squashfs file1 file2 ...

zstdcat archive.tar.zst | sqfstar filesystem.squashfs "*.gz"

lz4cat archive.tar.lz4 | sqfstar filesystem.squashfs -regex "regular_expression"