Combine & sort multiple csv files ⇒ one csv file
Aug 10, 2020 08:30 · 21 words · 1 minute read
cat *.csv | sort --numeric-sort --key=2 --field-separator=, > total-sorted.csv
You need to remove the redundant header lines manually afterwards.
Via
- Disneyland Paris: Mit Kindern unter ~8 Jahren nicht wirklich zu empfehlen
- Dokku: Fixing 413 "Request Entity Too Large" on File Uploads
- macOS: Keyboard-Based Shutdown - via Spotlight
- Balkonkraftwerk - Notizen & Learnings
- You are in control
- My Favorite Shortcuts for VS Code
- Customizing my shell: From bash to zsh to fish
- JSON5: JSON with comments (and more!)
- jq: Analyzing JSON data on the command line
- Get Total Directory Size via Command Line