shenwei356 / csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang
http://bioinf.shenwei.me/csvtk
MIT License
999 stars 84 forks source link

wildcards on windows #210

Closed ggrothendieck closed 1 year ago

ggrothendieck commented 1 year ago

Would be nice if wildcards worked on Windows.

csvtk concat *.csv

or at least if --infile-list supported stdin

dir/b *.csv | csvtk concat --infile-list -
shenwei356 commented 1 year ago

Hmm, use two steps:

dir/b *.csv > %tmp%/list.txt

csvtk concat --infile-list %tmp%/list.txt
ggrothendieck commented 1 year ago

I know one can create a text file of names and then use it. That is what I do now. But it seems a lot of work compared to using a wildcard or stdin.

shenwei356 commented 1 year ago

I see. The option --infile-list supports STDIN now.

ggrothendieck commented 1 year ago

Thanks!