Created
May 10, 2016 07:22
-
-
Save cyriac/7c3c780ed3ad147c10f699cf11ba009c to your computer and use it in GitHub Desktop.
Split a file into specific size chunks
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
awk '!(NR%<size>){i++;}{print > "<filename_>"i"<.extension>";}' i=1 <filename.extension> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment