Splitcsv

This gem splits a CSV file in multiple CSV files, based on a maximum CSV length you can specify

The first line of the CSV file is viewed as a header file and is repeated into the other CSV files

Installation

gem install splitcsv

Usage

splitcsv <filename> [<maxlength> [<separator>]]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request