![Forrest logo](/images/logo.png)
unsquashfs
Unsquashfs is a command line tool used for extracting files from a squash file system image. It is primarily used in Linux distributions for accessing the content of squashfs archives. The command allows users to pull out individual files or directories from a squash file system into their system. It also supports extracting the entire content of the squashfs image. Additionally, unsquashfs can preserve the file attributes and permissions during the extraction process. The tool supports the extraction of compressed and uncompressed squashfs files. Unsquashfs is widely used by Linux users and system administrators to access and manipulate contents within squash file system images. Overall, it provides a straightforward and efficient way to extract files from squashfs archives using the command line interface.
List of commands for unsquashfs:
-
unsquashfs:tldr:490a5 unsquashfs: Extract a squashfs filesystem to `squashfs-root` in the current working directory.$ unsquashfs ${filesystem-squashfs}try on your machineexplain this command
-
unsquashfs:tldr:4ad5a unsquashfs: Display the names of files as they are extracted.$ unsquashfs -info ${filesystem-squashfs}try on your machineexplain this command
-
unsquashfs:tldr:727af unsquashfs: Display the names of files and their attributes as they are extracted.$ unsquashfs -linfo ${filesystem-squashfs}try on your machineexplain this command
-
unsquashfs:tldr:7434b unsquashfs: List files inside the squashfs filesystem (without extracting).$ unsquashfs -ls ${filesystem-squashfs}try on your machineexplain this command
-
unsquashfs:tldr:d0dee unsquashfs: List files and their attributes inside the squashfs filesystem (without extracting).$ unsquashfs -lls ${filesystem-squashfs}try on your machineexplain this command
-
unsquashfs:tldr:d13a9 unsquashfs: Extract a squashfs filesystem to the specified directory.$ unsquashfs -dest ${path-to-directory} ${filesystem-squashfs}try on your machineexplain this command