2022-09-27 02:28:54 +01:00
|
|
|
# csv-diff
|
|
|
|
|
|
|
|
> View differences between two CSV, TSV or JSON files.
|
|
|
|
> More information: <https://github.com/simonw/csv-diff>.
|
|
|
|
|
|
|
|
- Display a human-readable summary of differences between files using a specific column as a unique identifier:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}}`
|
2022-09-27 02:28:54 +01:00
|
|
|
|
|
|
|
- Display a human-readable summary of differences between files that includes unchanged values in rows with at least one change:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --show-unchanged`
|
2022-09-27 02:28:54 +01:00
|
|
|
|
|
|
|
- Display a summary of differences between files in JSON format using a specific column as a unique identifier:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --json`
|