Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
List Files¶
There are 2 ways to list files using ripgrep. The first way is file name (globbing pattern) based and the second way is file content (regex pattern) based.
Tips on fd
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips & Traps
fd
is much faster compared tofind
.
Installation
wajig install fd-find
The install binary is fdfind
.
Example Usages
-
Find all directories under
$dir
.fdfind --type d . $dir
-
Find all …
The fzf Command Is a Great Alternative to find
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Example Usages
Speed up fzf
- By default,
fzf
usesfind
to find files. A different command can be configured via the environment varialbe …
The Best Way to Find Files and Manipulate Them
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
There are many cool (command-line) tools which can help you quickly find/locate files.
Those tools can be combined with the pipe operator |
to do further filtering or manipulation.
However,
after trying all tools I have to state that the best way for a Python user
is leveraging the pathlib