find linux with extension and copy files code example
Example: find files with extension and copy
find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t /target/path/
find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t /target/path/