7zip: how to extract to std output?
pipe it to another program such as
- tee
- less
- more
i think tee
comes closest to what you want, it drops the 7z stuff and just gives you the content.
% 7z e -so dist\dlogpkg.jar META-INF/MANIFEST.MF | tee
On Windows, 7z x -so my_file.zip 2> NUL
doesn't work, but redirection to a real file helps:
7z x -so my_file.zip 2> _garbage.txt
I was also trying to figure this out. This got me what I wanted:
7z x -so my_file.zip 2> /dev/null