Created
November 12, 2013 09:54
-
-
Save nghuuphuoc/7428288 to your computer and use it in GitHub Desktop.
Split and join files on Mac/Linux
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
// Split file | |
$ split -b<size>m <bigFileName> <smallerFileName> | |
// Join files | |
$ cat <smallerFileName>* > <bigFileName> | |
For example: | |
$ split -b20m big.zip smaller.zip | |
$ cat smaller.zip* > big.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment