How to create tar.gz file
Outdated page
This page was set to be reviewed before 2023-01-01 by the page owner.
Contact the page Owner (opens default mail client) if you require this page to be updated
Why
Sometimes we want to create a tarball of a directory to store and save space
How
Assuming we want to tarball the /var/www
directory we would do the below
Move to the directory
Start the Tarball
Additional Reading
Want to make this site better? Open a PR or help fund hosting costs