Created
June 27, 2012 19:28
-
-
Save nickwhitt/3006246 to your computer and use it in GitHub Desktop.
Tar and Compress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar.bz2 | |
compress: tar -jcvf archive_name.tar.bz2 directory_to_compress | |
extract: tar -jxvf archive_name.tar.bz2 [-C /tmp/extract_here/] | |
tar.gz | |
compress: tar -zcvf archive_name.tar.gz directory_to_compress | |
extract: tar -zxvf archive_name.tar.gz [-C /tmp/extract_here/] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment