Find and copy

$ find . -name '\*2020\*.xml' -exec cp -r "{}" /tmp/backup \;

Find matching files and copy to a specific directory (/tmp/backup)

Comments