bash unsquash specific files

C++
# Basic syntax:
unsquashfs -l file.sqfs
# Where .sqfs is a squash file, which is a type of data compression# Basic syntax:
unsquashfs -f -d /path/to/output/directory file.sqfs /path/to/file_or_directory/from/sqfs_root

# Note, the output directory should not exist when this is run.
# Note, you can view the file paths in the .sqfs file with unsquashfs -l file.sqfs

Source

Also in C++: