Created
October 16, 2014 15:17
-
-
Save ianthekid/f070fb8374d117b3ff39 to your computer and use it in GitHub Desktop.
Create multi-part tar archives of large directory
This file contains hidden or 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 multi-part archive of ./www/ | |
| */ | |
| tar czf - www|split -b 1073741824 - www_backup.tar. | |
| /* | |
| * Extract multi-part archive | |
| */ | |
| cat www_backup.tar.*|gunzip -c |tar xf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment