3 ms·
You probably want -name or -iname which match glob-like expressions against the filename (the "i" prefix means case insensitive). If you really need regex you
by aidenn0 5y ago
You probably want -name or -iname which match glob-like expressions against the filename (the "i" prefix means case insensitive).
If you really need regex you can use -regex or -iregex, but be aware that they match the entire path (so if you do "find ." you will be matching a string that starts with "./"