I have multiple files in this directory someDir and I'm trying to move only the ones that have this ending O_010_0000000028181996.xml
I've checked my regular expression online and it matches,the problem is when I run my bash command the files do not get moved to the folder found.
My command bash command is
find /home/someDir/ -regex '\d{10}.{3}O_010_0000000028181996\.xml' -exec mv '{}' /home/found/ \;
Example of filenames in directory someDir:
0208420319-1-O_010_0000000028174248.xml
0208461630-1-O_010_0000000028178356.xml
0208696934-1-O_010_0000000028181996.xml
0208696935-1-O_010_0000000028181996.xml
0208735127-1-O_010_0000000028186468.xml
0208774443-1-O_010_0000000028191308.xml
0208812611-1-O_010_0000000028196104.xml
0208858156-1-O_010_0000000028198984.xml