I have a file, foo.zip which looks something like this:
foo.zip
-- fileA.txt
-- fileB.txt
I can pipe the output of the extracted files like this:
unzip -p foo.zip *.txt | something
My problem is that I want to make sure that the files are in the correct order, e.g. that fileA.txt is extracted and piped before fileB.txt.
Can I do that in some way and still avoid writing the files temporarily to disk?