linux find files copy to directory 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/