csvsort

csvsort

TLDR

Sort a CSV file by column 9

$ csvsort -c [9] [data.csv]
copy

Sort a CSV file by the "name" column in descending order

$ csvsort -r -c [name] [data.csv]
copy

Sort a CSV file by column 2, then by column 4

$ csvsort -c [2,4] [data.csv]
copy

Sort a CSV file without inferring data types

$ csvsort --no-inference -c [columns] [data.csv]
copy

Copied to clipboard
Dodo Farming