As the title says, how can I recursively copy a directory structure but only include some files. E.g given the following directory structure:
folder1 folde
try piping output of find (ie. the file path) into cpio
find . -type f -name '*.jpg' | cpio -p -d -v targetdir/
cpio checks timestamp on target files -- so its safe and fast.
remove -v for faster op, once you get used to it.