-
-
Save mapcloud/ab5f844574fdd7a3d21e1037c94e0806 to your computer and use it in GitHub Desktop.
How to split a very large text file into smaller files
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
awk '{outfile=sprintf("fileName%02d.tsv",NR/100000+1);print > outfile}' fileName_of_really_big_textfile.tsv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment