-
Create an archive but exclude a folder
tar cvzf myarchive.tar.gz --exclude=exclude/relative/path to_archive_folder/
-
Unarchive .gz
gunzip -d archive.gz
-
Unarchive tar.gz
tar xvzf archive.tar.gz
-
Unarchive tar.bz2
tar xvjf archive.tar.bz2
-
Crypt archive
tar cvzf myarchive.tar.gz myfolder/ && gpg -c myarchive.tar.gz
Last active
November 4, 2019 14:21
-
-
Save vpnwall-services/ced367cf1ca63b145d3b3260512f3269 to your computer and use it in GitHub Desktop.
[TAR 101] tar 101 #bash #linux #tar #101
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment