Hacker News new | past | comments | ask | show | jobs | submit login

> find . -i -name <regex> is NOT mentioned anywhere

you've got some typos here, it's not mentioned because... that's not how find works.

find has no -i like grep ; to ignorecase you use -iname ; and for name regular expression matching you need to use

    find . -iregex <regex>   # (or -regex)

    find . -iname <pattern>  # (uses wildcards ? \*)
cheers :)



See stuff like this is what frustrates me. Why can't the manpage tell me that? Thanks though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: