CLI tool isamert/marks brings sensible file search to the Terminal
For you command-line warriors and scripters: there's a supposedly fast tool to "naturally" search in a folder of files like you would search on Google.
https://github.com/isamert/marks
That's different from your regular expression based filters. You can search for "foo bar baz"
and get items that contain any of these words, instead of only items that contain these words in that order with only 1 space in between, aka literal matches.
Author at Zettelkasten.de • https://christiantietze.de/
Howdy, Stranger!
Comments
I would just add my hint, which I find quite useful.
macOS users could use the "standard"
mdfind
command for this as well. Themdfind
command consults the central Spotlight metadata store and returns a list of files that match the given metadata query. The query can be a string or a query expression. All Spotlight search criteria including metadata attributes and Boolean search operators are supported.or just
Adding
-name
option will limit search scope to file names only. Consult manpage for more details.