Expanded Cli Tar Commands

This is just a quick reference for personal use. I find that it is easier to remember the full 'english' names for commands before using the shortened versions

To compress

tar --create --gzip --file $desired_zip_name.tar.gz $folder_to_tar

To uncompress

tar --extract --gzip --file $tar_file

As you can see the only difference is changing create to extract. If you want to you can put in -v or --verbose as well to output progress.

No comments:

Post a Comment