I am looking for something that will find the squashed filesystem, and the pass the output to unsquash the fs and it would have to be an absolute path outside the squashfs. example/tmp/mnt/live/filesystem.squashfsdesired output/tmp/unsquashedfs/filesI am fooling with lines of code likefind /tmp/mnt -iname '*.squashfs' -exec unsqaushfs '*.squashfs' {} \;find /tmp/mnt -print0 -iname *.squashfs | unsquashfs *.squashfs -T - But can't get it to work. Any help from somebody would be appreciated!
Pipe Find Results for '*.squashfs' to unsquashfs
find;pipe;squashfs
You're basically looking forfind /tmp/mnt -iname '*.squashfs' -exec unsquashfs {} \;{} is replaced by the path to the matched file.If you want to specify which directory to extract to, pass the -d option.find /tmp/mnt -iname '*.squashfs' -exec unsquashfs -d /tmp/unsquashedfs/files {} \;