find multiple files
February 6, 2009
Leave a comment
find . -name file1.txt -o -name file2.txt -o -name file3.txt
find . -name file1.txt -o -name file2.txt -o -name file3.txt
Use this for small list of files, for better performance use xargs.
find . -name *.conf -exec cp ‘{}’ /etc/apache/include/ \;