BASH: Join and Split Files

Split file into multiple files every 1000 lines split --lines=1000 bigfile.txt newFilePrefix_ Join files into a single file cat * >> /c/Temp/bigfile.csv…

Read this article