How can I use the 7-Zip CLI (7za.exe) on Windows to create .tgz archives, as I use
tar zcvf archive.tgz source_files on Linux?
migrated from stackoverflow.com Sep 26 '11 at 11:30
This question came from our site for professional and enthusiast programmers.
If you'd like to do it in a one-liner:
I'm not sure why the
If you're just compressing 1 file into the tarball then
If you want to add lots of files to the tar then you need to do it in two steps:
Create the tar
And, optionally, delete the 'temporary' tar