Crates.io | csvcatrow |
lib.rs | csvcatrow |
version | 0.1.0 |
source | src |
created_at | 2022-10-06 14:48:39.489673 |
updated_at | 2022-10-06 14:48:39.489673 |
description | CLI tool to concatenate csv (comma-separated values) files rowwise taking column headers into account |
homepage | |
repository | https://github.com/vi/csvcatrow |
max_upload_size | |
id | 681390 |
size | 7,919 |
Tool for concatenating many small csv files into one big table row-wise, analogue of xsv cat rows
, but handling reordered or different columns.
$ cat 1.csv
a,b
1,2
$ cat 2.csv
b,a
2,1
$ cat 3.csv
a,b,c
1,2,3
$ csvcatrow 1.csv 2.csv 3.csv
a,b,c
1,2,
1,2,
1,2,3
Built it with cargo install --path .
or download pre-built execitables from Github Releases.