vasi / squashfuse

FUSE filesystem to mount squashfs archives
Other
291 stars 66 forks source link

squashfuse_cat #9

Open znik3040 opened 8 years ago

znik3040 commented 8 years ago

it would be nice creating squashfuse_cat, similar to squashfuse_ls . It should cat/extract all file names applied as parameter or stdin. support for asterisk and question mark is desirable. This should extract files into physical directory, or into stdount depending on output.

If it is possible, it would be nice extracting multiple files in the same order as placed into squashfuse_cat . for stdout option, any separator for multiple file content is desirable. This all is very recommended for using squashfuse_ls & squashfuse_cat inside automation scripts without mounting archive.

probonopd commented 7 years ago

As pointed out in #13, I have started a (very) simplistic tool to extract regular files and directories from a squashfs file at https://github.com/probonopd/squashfuse/blob/master/extract.c

Maybe you can use this as a starting point.