Created
March 10, 2015 10:24
-
-
Save csdy/16c55e7deedbb7a2fdfb to your computer and use it in GitHub Desktop.
Chunk File
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 by size | |
| split -b=1M -d file.txt file | |
| # Split by line | |
| a=(`wc -l yourfile`) ; lines=`echo $a/12 | bc -l` ; split -l=$lines -d file.txt file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment