Skip to content

Instantly share code, notes, and snippets.

@philly-mac
Created August 15, 2011 10:28
Show Gist options
  • Save philly-mac/1146015 to your computer and use it in GitHub Desktop.
Save philly-mac/1146015 to your computer and use it in GitHub Desktop.
Split And Join files
# Tar
$ tar -cvvzf <archive-name>.tar.gz /path/to/folder
# Split
$ split -b 1M <archive-name>.tar.gz "parts-prefix"
#Join
$ cat parts-prefix* > <archive-name>.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment