Created
May 16, 2013 19:10
-
-
Save seanbuscay/5594249 to your computer and use it in GitHub Desktop.
Tar commands
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
; Create a Tar of All in Directory | |
tar cvf backup.tar . | |
; Untar | |
tar xvf filename.tar | |
; Exclude files | |
tar --exclude='file1' --exclude='patter*' --exclude='file2' | |
; Exclude VCS files | |
tar cvf backup.tar . --exclude-vcs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment