gocsv icon indicating copy to clipboard operation
gocsv copied to clipboard

Directory mode [for stacking in particular]

Open geekscrapy opened this issue 5 years ago • 0 comments

Provide a switch that allows the input of filenames to be directory based. If a directory has more files than is allowed on the command line (when using * for example) the command fails (as expected).

e.g. this fails gocsv stack /my/dir/of/10M_files/*.csv

So the only way to get round this is to: find /my/dir/of/10M_files/ -name "*.csv" -exec gocsv stack "{}" ";"

geekscrapy avatar Dec 10 '19 09:12 geekscrapy