Created
October 23, 2013 11:47
-
-
Save trajakovic/7117118 to your computer and use it in GitHub Desktop.
Tar combinations
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
-z: Compress archive using gzip program | |
-c: Create archive | |
-v: Verbose i.e display progress while creating archive | |
-f: Archive File name | |
(this creates archive) | |
tar -zcvf archive_name.tar.gz /home/tom/and/jerry/ | |
-x: Extract files | |
(this extracts archive) | |
tar -zxvf archive_name.tar.gz [-C /output/folder] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment