Created
March 4, 2022 12:11
-
-
Save s0kil/98e7487557537581b485b1d64ae13950 to your computer and use it in GitHub Desktop.
Linux split csv file into multiple and keep header
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
cat Large-File.csv | parallel --header : --pipe -N2000 'cat >file_{#}.csv' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment