fd

last updated: Oct 20, 2023

https://github.com/sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

I like this program a lot better than find

notable options:


find all empty files and delete them:

fd -t empty -t file -x rm

(find all empty files, execute rm)

list all dotfiles in the home directory, without recursing:

fd -d1 -u '^\.' ~

(-d1 to not recurse, -d == --depth. -u as above)

↑ up