Bash script to breah a csv file in lines quantity
AVOID FILES WITH "x" IN NAME
bash script.bash teste.csv
Will break the file teste.csv in files of 1000 lines and insert the header that I choose
The first optional param is the name of the file the default PagSeguro.csv
The second optional param is the amount of lines that you want in every cuted file, the default is 1000 lines
bash script.bash teste.csv 10000