Linux command
qsv 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Count rows in a CSV file
qsv count [data.csv]
Search for a pattern
qsv search '[pattern]' [data.csv]
Select specific columns
qsv select [col1,col2] [data.csv]
Run SQL queries on a CSV file
qsv sqlp "SELECT * FROM data WHERE value > 100" [data.csv]
Get summary statistics
qsv stats [data.csv]
说明
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.
FAQ
What is the qsv command used for?
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.
How do I run a basic qsv example?
Run `qsv count [data.csv]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more qsv examples?
This page includes 5 examples for qsv, plus related commands for nearby Linux tasks.