Skip to main content
added 256 characters in body
Source Link
FreeSoftwareServers
  • 2.7k
  • 15
  • 41
  • 60

So I figured i was working backwards, and this has worked for me

sudo find . -type f \( -name '*.squashfs' -o -name "*.SQFS" \) -exec cp {}  /tmp/fs.squashfs  \; && sudo unsquashfs /tmp/fs.squashfs

What I finally ended with thanks to users help! (I needed ability to search for different parameters and be able to add more in future)

find /tmp/mnt \( -iname '*.squashfs' -o -iname "*.SQFS" \) -exec unsquashfs -d /tmp/squashfs-root/ {} \;

So I figured i was working backwards, and this has worked for me

sudo find . -type f \( -name '*.squashfs' -o -name "*.SQFS" \) -exec cp {}  /tmp/fs.squashfs  \; && sudo unsquashfs /tmp/fs.squashfs

So I figured i was working backwards, and this has worked for me

sudo find . -type f \( -name '*.squashfs' -o -name "*.SQFS" \) -exec cp {}  /tmp/fs.squashfs  \; && sudo unsquashfs /tmp/fs.squashfs

What I finally ended with thanks to users help! (I needed ability to search for different parameters and be able to add more in future)

find /tmp/mnt \( -iname '*.squashfs' -o -iname "*.SQFS" \) -exec unsquashfs -d /tmp/squashfs-root/ {} \;
Source Link
FreeSoftwareServers
  • 2.7k
  • 15
  • 41
  • 60

So I figured i was working backwards, and this has worked for me

sudo find . -type f \( -name '*.squashfs' -o -name "*.SQFS" \) -exec cp {}  /tmp/fs.squashfs  \; && sudo unsquashfs /tmp/fs.squashfs