← 返回命令列表

Linux command

unsquashfs 命令

文件

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

常用示例

Extract

unsquashfs [filesystem.squashfs]

Example

unsquashfs -d [path/to/directory] [filesystem.squashfs]

Example

unsquashfs -i [filesystem.squashfs]

Example

unsquashfs -li [filesystem.squashfs]

List

unsquashfs -l [filesystem.squashfs]

List

unsquashfs -ll [filesystem.squashfs]

Extract

unsquashfs [filesystem.squashfs] [path/to/file] [path/to/dir]

Example

unsquashfs -s [filesystem.squashfs]

说明

unsquashfs extracts and lists files from squashfs compressed filesystems. Squashfs is a read-only compressed filesystem commonly used for Linux distributions, live CDs, and embedded systems. By default, files are extracted to a squashfs-root directory in the current working directory.

参数

-d, -dest _DIR_
Extract to specified directory
-i, -info
Display filenames during extraction
-li, -linfo
Display filenames and attributes during extraction
-l, -ls
List files without extracting
-ll, -lls
List files with attributes without extracting
-f, -force
Overwrite files that already exist
-s, -stat
Display filesystem superblock information
-n, -no-progress
Don't display the progress bar
-p _NUMBER_, -processors _NUMBER_
Use NUMBER processors for decompression
-e _FILE_, -ef _FILE_
List of directories or files to extract, one per line

FAQ

What is the unsquashfs command used for?

unsquashfs extracts and lists files from squashfs compressed filesystems. Squashfs is a read-only compressed filesystem commonly used for Linux distributions, live CDs, and embedded systems. By default, files are extracted to a squashfs-root directory in the current working directory.

How do I run a basic unsquashfs example?

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

What does -d, -dest _DIR_ do in unsquashfs?

Extract to specified directory