Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. tail -n +2 tickets_201501231713.csv | split -l 10000 - split_
  2. for file in split_*
  3. do
  4. head -n 1 tickets_201501231713.csv > tmp_file
  5. cat $file >> tmp_file
  6. mv -f tmp_file $file
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement