Archive and compress in one step.
Section: Archives Compression and Checksums
Create gzip-compressed tarball
bash
bash
tar -czvf backup.tar.gz app/Explanation
Common format for source releases and backups.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Archives Compression and Checksums