Last active
June 17, 2016 21:48
-
-
Save dylanroy/4144abb99c88d1fe57d6135ebcd09bb5 to your computer and use it in GitHub Desktop.
Splits up a file into multiple 1gb archives.
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
# Make sure you zip up the file first | |
echo "Splitting up archive $1" | |
tar -cvzf $1.tar.gz $1 | |
split -b 1024mb $1.tar.gz $1.tar.gz. |
cat $1.tar.gz.* > $1.tar.gz
to combine again.
Just splitting up the file, not actually a multi-file archiver that is aware of all of its parts.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO: Create a file that will unzip these later.