csvdedupe
csvdedupe copied to clipboard
csvlink example drawing errors
Hello, I followed your csvlink example and ran a command in the following format:
csvlink dir/file_1.csv dir/file_2.csv \ --field_names_1 different name \ --field_names_2 other fields \ --output dedupe_output.csv
However, upon running the program I was immediately thrown the error "csvlink: error: You must provide two input files." with a usage description that suggested I should put the input files at the end rather than the begininning (different from the example on your github page). So I then tried:
csvlink --field_names_1 different name \ --field_names_2 other fields \ --output dedupe_output.csv \ dir/file_1.csv dir/file_2.csv
But got the error "csvlink: error: too few arguments"
Since I followed the exact syntax on your github page, I'd like to know what might be causing these errors. Thank you.
I am having the same issue, it seems like csvlink does correctly parse the positional arguments for the dir/file of csv1 and csv2 I can't seem to get it to work. Error is always ""csvlink: error: You must provide two input files."
I am having the same issue
Same issue for me using a config file as the following:
csvlink csv_1.csv csv_2.csv \ --config_file=config.json
Just remove the \
to:
csvlink csv_1.csv csv_2.csv --config_file=config.json
This fixed the issue for me