I am trying to search some files in a specific directory called Dico with find command e.g.
- I want to find all files ending with
g:find ./Dico -name "*gworks butfind ./Dico -name ".*gorfind ./Dico -name ".*g$do not. Can someone explain me why ? - Another example would be to find : all files that start with a number followed by exactly 5 characters (lowercase) :
find ./Dico -name "\[0-9\]+[a-z]\{5\}"orfind ./Dico -name "\d+[a-z]{5}". In that case+,\d+and{n}do seem to do nothing.. I've tried both{5}and\{5\}(emacs syntax) but still the special characters seem to not work correctly.
I am on Ubuntu 20.04. Thank you in advance.