Skip to content

Instantly share code, notes, and snippets.

@amarilindra
Created October 21, 2022 11:59
Show Gist options
  • Save amarilindra/d70b7e71def567db334a3312189172f7 to your computer and use it in GitHub Desktop.
Save amarilindra/d70b7e71def567db334a3312189172f7 to your computer and use it in GitHub Desktop.
Split CSV Files
split -l 1000 -d FILE_NAME.csv file_
for i in $(find file_*); do mv $i "$i.csv"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment