fselect

fselect·fselect.fselect

Find files with SQL-like queries.

winget install --id fselect.fselect --exact --source winget

Latest 0.10.5·November 28, 2026

Release Notes

Added

• select top N ... as a synonym for limit N

Changed

• Matroska and WebM metadata is behind the mkv build feature, enabled by default. • The update-notifications build feature is no longer enabled by default. • Column aliases are no longer accepted after WHERE and HAVING conditions • Subquery columns are named after their query in output headers and error messages instead of a hash • DISTINCT is rejected with a hint instead of being read as a column named "distinct" • A doubled quote inside a quoted string ('it''s') is a literal quote • Missing numeric, date and boolean values are written as null in JSON output • Dates and times are handled by jiff instead of chrono • Several hash columns selected together (sha1, sha256, sha512, sha3) are computed in one read of the file • width, height and duration of an MP4 file come from a single parse of the file

Fixed

• Unterminated or mismatched subquery parentheses are rejected instead of silently closed • Operators such as IN and BETWEEN work after a subquery in the SELECT list • A correlated subquery in a grouped query may only read grouping columns of the outer row • INTO inside a subquery is rejected with a clear message • EXISTS with a doubly parenthesized subquery evaluates the subquery instead of being always true • An invalid regular expression literal is reported once when the query is parsed instead of per file • A negative operand written with a space after the minus sign (size > - 1) is parsed as a number • An aggregate function in WHERE is rejected instead of silently matching nothing • GROUP BY and ORDER BY without an expression are rejected • A column alias may be referenced in the SELECT list before the column that declares it • Division by a literal zero is rejected when the query is parsed instead of per file • A date literal with an impossible month (2020-13-01) is rejected instead of being read as arithmetic • Nested aggregate functions (count(count(*))) are rejected • AS without an alias, or an alias inside parentheses, is rejected instead of being ignored • Two search roots with the same alias are rejected • An invalid literal unit, day count, precision or position argument of a date or string function is reported once when the query is parsed instead of per file • NOT without a following operator (where is_file not) is rejected instead of being ignored • A column name used as a function (sha1(name)) is rejected instead of being read as two columns • NOT IN no longer accepts a row when the list or subquery contains a NULL member and nothing matches • Numeric functions such as ABS, GREATEST and HEX read the byte count of fsize instead of its formatted text • A relative date such as 1 year ago no longer fails when it lands in January • A date with non-ASCII letters (2024é) is rejected instead of crashing • 2 days ago and similar day offsets keep the time of day across a daylight saving change • Comparing a boolean with a number gives the same result in either order (is_file = size and size = is_file); the boolean counts as 1 or 0 • HAVING reads a computed right-hand operand as a number, date or boolean the same way WHERE does

Installer type: zip

x64—B63AA782084074A3957DA195985CE2964D66326D45AAB7E22875D83DA745478E

Details

Homepage
https://github.com/jhspetersson/fselect/
License
Apache-2.0
Publisher
fselect
Support
https://github.com/jhspetersson/fselect/issues
Copyright
Copyright (c) 2018-2023, jhspetersson.

Tags

clicommand-linefilesfilesystemfindhacktoberfestqueryrustsqlsql-liketoolutility

Older versions (15)

0.10.4
x64—A6EEFF2B7D55D44CB6974D387FB925AA16DA0DB1A4A280888640200EC7CDA364
0.10.3
x64—B96F46A8CDE6C3671DB71D4BE3B82FE6B0C44CD25C4581F0FAD3EC6F07AD9D8A
0.10.2
x64—4C9A240DB7B8F6DC5E976C53D8AAE29F07130666781579048971610489769874
0.10.1
x64—F4CF6746E2B4D0A101717803EBA591BD7A9AC7C263DF78AFC96C47F710213D12
0.10.0
x64—50AB5E6FF85AB643D13EC7E0D6469BF15C8ECB0D50E899FB50145569C48BCF96
0.9.3
x64—BFB68F1CF8D614B4C1B88EE7D1A369C616B7D6CCDBEE1DDDC45B74F1FC93DC7D
0.9.2
x64—283F241B1908875F99EB8ABA778F04B76B1387308A540BEB2A348A01F68199E8
0.9.1
x64—78FD8F6D115ADDA3B493E38117BD949379C9E7E85E2E19EFB2C24E31C80D35C8
0.9.0
x64—725FF21BFD5B0FAED9D78E2765D749CCF89C501FDDC7D578D33EBB2488BD31C3
0.8.12
x64—FEBB9C2D54C056FC5378A147AE261CFB66ED65734FD0F3FE57289D629EB5721E
0.8.11
x64—576C9813C9DB3A21516169D9BBD44A223838F1954657D32598732FB68600F5DF
0.8.9
x64—E4C3D7F75200B0290979056FB3E2DF19AF0D5228BBFFC47889A22CDA177E82E3
0.8.6
x64—C2513B87831845866A3E0B1051ACB5A8753C38CFCAEDADB87D8779E78CE43A62
0.8.5
x64—98DA2A805BDC7D239302DC5D98163F36F3A83F008A0EFE2EC154A8E0A8BFCD77
0.8.3
x64—3c64605d9690f2264734eb029582bea478436514419b643ef604559fcdd02cef