May 28, 2015

Find and copy

One of the best articles on this subject. And a final single line for quick reference

# find /path/to/search/ -type f -name "regular-expression-to-find-files" | xargs cp -t /target/path


No comments: