FG
💻 Software

How do I use 7-Zip CLI for Windows to create .tar.gz archives?

Fresh5 days ago
Mar 15, 202667284 views
Confidence Score0%
0%

Problem

How can I use the 7-Zip CLI (7za.exe) on Windows to create .tgz archives, as I use on Linux?

Error Output

tar zcvf archive.tgz source_files

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I use 7-Zip CLI for Windows to create .tar.gz archives?

Low Risk

If you'd like to do it in a one-liner: The switch tells 7-Zip not to parse the archive_name command line parameter that's normally required.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment