LinuxCommandLibrary

qsv

Blazing-fast data-wrangling toolkit for CSV and tabular data

TLDR

Count rows in a CSV file
$ qsv count [data.csv]
copy
Search for a pattern
$ qsv search '[pattern]' [data.csv]
copy
Select specific columns
$ qsv select [col1,col2] [data.csv]
copy
Run SQL queries on a CSV file
$ qsv sqlp "SELECT * FROM data WHERE value > 100" [data.csv]
copy
Get summary statistics
$ qsv stats [data.csv]
copy

SYNOPSIS

qsv command [options] [file]

DESCRIPTION

qsv is a comprehensive command-line toolkit for querying, transforming, validating, and analyzing CSV and tabular data. It provides over 50 commands including sort, join, dedup, frequency, stats, search, validate, and an embedded Luau scripting DSL. It supports CSV, JSON, JSONL, Parquet, Arrow, Avro, and Excel formats with streaming, multithreaded processing for arbitrarily large files.

HISTORY

qsv was created by jqnatividad (dathere) and is written in Rust.

SEE ALSO

csvlens(1), xsv(1), miller(1), cut(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard