{"repo":"kashav/fsql","free":true,"listed":false,"github":"https://github.com/kashav/fsql","clone":"git clone https://github.com/kashav/fsql.git","description":"Search for files using a fun query language","language":"Go","stars":3987,"topics":["find","golang"],"license":"MIT","category":"databases-storage","readme_excerpt":"fsql Search through your filesystem with SQL-esque queries. Contents - Demo - Installation - Usage - Query Syntax - Examples - Contribute - License Demo Installation Binaries View latest release. Via Go Via Homebrew Build manually Usage fsql expects a single query via stdin. You may also choose to use fsql in interactive mode. View the usage dialogue with the -help flag. Query syntax In general, each query requires a SELECT clause (to specify which attributes will be shown), a FROM clause (to specify which directories to search), and a WHERE clause (to specify conditions to test against). You may choose to omit the SELECT and WHERE clause. If you're providing your query via stdin, quotes are not required, however you'll have to escape reserved characters (e.g. , , etc). Attribute Currently supported attributes include name , size , time , hash , mode . Use all or to choose all; if no attribute is provided, this is chosen by default. Examples : Each group features a set of equivalent clauses. Source Each source should be a relative or absolute path to a directory on your machine. Source paths may include environment variables (e.g. $GOPATH ) or tildes ( ). Use a hyphen ( - ) to exclude a directory. Source paths also support usage of glob patterns). In the case that a directory begins with a hyphen (e.g. -foo ), use the following to include it as a source: Examples : Condition Condition syntax A single condition is made up of 3 parts: an attribute, an operator, and a value. - A","default_branch":null,"files":null,"tree":[],"storefront":"/r/kashav","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kashav/fsql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}