← Back to context

Comment by wiredfool

18 hours ago

You might not need find due to advanced globs, but it's too easy to run into expansion limits when you match hundreds or thousands of files, so you're back to find for that.

Something about the find syntax never sat well with me, and I don't search often enough that I feel I need to learn it.

My "find" is almost always

    tree -if | grep "<whatever-pattern>$" | head -1

head, of course, being optional

The tradeoff is needing to learn regex, which is not any easier to learn than find arguments.