Quick memo from my future self

Sure gzip is fun, but how do you use 7zip on Windows to compress/decompress to standard out?

dir | 7zip a -an -txz -bd -si -so > test.7z
type test.7z | 7zip x -an -txz -si -so

Yeah. Lots of crazy flags, but it works.

You’re welcome.

2 thoughts on “Quick memo from my future self

Leave a Reply