$ find . -name '\*2020\*.xml' -exec cp -r "{}" /tmp/backup \;
Find matching files and copy to a specific directory (/tmp/backup
)
Comments
$ find . -name '\*2020\*.xml' -exec cp -r "{}" /tmp/backup \;
Find matching files and copy to a specific directory (/tmp/backup
)