find all files and copy linux 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/