https://github.com/xta/csvconcat
combines CSV files into a single file
https://github.com/xta/csvconcat
concatenation csv golang
Last synced: 5 months ago
JSON representation
combines CSV files into a single file
- Host: GitHub
- URL: https://github.com/xta/csvconcat
- Owner: xta
- Created: 2017-12-15T22:33:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T22:37:57.000Z (over 8 years ago)
- Last Synced: 2025-01-17T08:44:45.053Z (about 1 year ago)
- Topics: concatenation, csv, golang
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# CSV Concat
CSV Concat combines 1+ text files into a single output file. The intended file type is CSV files, but any text file will work as long as first row is header and rest of rows are non-header
Caveats:
* Does NOT validate your CSV files
* Overwrites the file at the output path
* Assumes all files have a header row
* Assumes no row is longer than 65,536 characters
## Arguments
Required
* input relative file path(s)
* output relative file path
## Setup
# Installs to Command Line via your $GOPATH/bin/
make
## Usage
csvConcat --in '[INPUT FILES]' --out [OUTPUT_FILE]
## Example
csvConcat --in 'test/file1.csv test/file2.csv test/file3.csv' --out combined.csv
## Help
csvConcat -h
## Run Tests
make test