find . -name file1.txt -o -name file2.txt -o -name file3.txt
Category Archives: find
exec command on find results
Use this for small list of files, for better performance use xargs.
find . -name *.conf -exec cp ‘{}’ /etc/apache/include/ \;
Use this for small list of files, for better performance use xargs.
find . -name *.conf -exec cp ‘{}’ /etc/apache/include/ \;