2023-05-14 04:28:36 +02:00
|
|
|
# unsquashfs
|
|
|
|
|
|
|
|
> Uncompress, extract and list files in squashfs filesystems.
|
|
|
|
> More information: <https://manned.org/unsquashfs>.
|
|
|
|
|
|
|
|
- Extract a squashfs filesystem to `squashfs-root` in the current working directory:
|
|
|
|
|
|
|
|
`unsquashfs {{filesystem.squashfs}}`
|
|
|
|
|
|
|
|
- Extract a squashfs filesystem to the specified directory:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`unsquashfs {{[-d|-dest]}} {{path/to/directory}} {{filesystem.squashfs}}`
|
2023-05-14 04:28:36 +02:00
|
|
|
|
|
|
|
- Display the names of files as they are extracted:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`unsquashfs {{[-i|-info]}} {{filesystem.squashfs}}`
|
2023-05-14 04:28:36 +02:00
|
|
|
|
|
|
|
- Display the names of files and their attributes as they are extracted:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`unsquashfs {{[-li|-linfo]}} {{filesystem.squashfs}}`
|
2023-05-14 04:28:36 +02:00
|
|
|
|
|
|
|
- List files inside the squashfs filesystem (without extracting):
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`unsquashfs {{[-l|-ls]}} {{filesystem.squashfs}}`
|
2023-05-14 04:28:36 +02:00
|
|
|
|
|
|
|
- List files and their attributes inside the squashfs filesystem (without extracting):
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`unsquashfs {{[-ll|-lls]}} {{filesystem.squashfs}}`
|