by travisgriggs · 1y ago · 0 comments
find . | grep what_i_am_looking_for
Because I can never remember how finds arguments work. I like the integrated xargs like behavior as well.
One thing I did not see in there was how fd handles symlink directory traversal? Searched the whole readme for it, and only found options to match on symlinks or not.
Or just press F1 if you use my shell.
https://murex.rocks/user-guide/interactive-shell.html#autoco...
The other value add for alternative shells like my own is better support in the language for handling structured data (is not treat everything as a dumb byte stream).
Ultimately though, productivity is all about familiarity and if you’re also super efficient in zsh then I’m not going to try and convince you that some shiny new tool is better.
fd --help | rg link -C 10
Set -L --follow to descend into symlinked directories. The default is to not.(That’s GNU Grep, just to be clear: https://www.gnu.org/software/grep/manual/grep.html#File-and-...)