← 返回命令列表

Linux command

sqfscat 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

sqfscat [filesystem.squashfs] [file1] [file2]

Example

sqfscat -p [num_processors] [filesystem.squashfs] [file]

Example

sqfscat -mem [512M] [filesystem.squashfs] [file]

Example

sqfscat -o [bytes] [filesystem.squashfs] [file]

Example

sqfscat -ig [filesystem.squashfs] [file]

说明

sqfscat outputs the contents of files from a squashfs filesystem to stdout, similar to how cat works on regular filesystems. Squashfs is a highly compressed read-only filesystem supporting gzip, xz, lzo, lz4, zstd, and lzma compression. The tool allows extracting file contents without mounting the filesystem, useful for inspection, scripting, and embedded systems. Multiple files can be specified and their contents will be concatenated.

参数

-v, -version
Display version and copyright
-p, -processors _number_
Number of processors to use for decompression
-mem _size_
Cache memory size (K/M/G suffixes; default: 512MB)
-mem-percent _percent_
Set cache as percentage of physical memory
-o, -offset _bytes_
Skip bytes at filesystem start
-ig, -ignore-errors
Treat write errors as non-fatal
-st, -strict-errors
Treat all errors as fatal
-no-exit, -no-exit-code
Don't set non-zero exit code on non-fatal errors
-no-wild, -no-wildcards
Disable wildcard matching in filenames
-r, -regex
Treat filenames as POSIX regular expressions
-h, -help
Display help summary

FAQ

What is the sqfscat command used for?

sqfscat outputs the contents of files from a squashfs filesystem to stdout, similar to how cat works on regular filesystems. Squashfs is a highly compressed read-only filesystem supporting gzip, xz, lzo, lz4, zstd, and lzma compression. The tool allows extracting file contents without mounting the filesystem, useful for inspection, scripting, and embedded systems. Multiple files can be specified and their contents will be concatenated.

How do I run a basic sqfscat example?

Run `sqfscat [filesystem.squashfs] [file1] [file2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, -version do in sqfscat?

Display version and copyright