11
Aug
Find multiple patterns, copy to directory
Posted in bees | No Comments
Search multiple directories, match multiple patterns, and copy to directory:
~/$ find src/ include/ -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.S" \) -exec cp {} build/ \;