On Thu, 2019-08-01 at 14:13 -0700, ToddAndMargo via users wrote:
Is there a way to do a "cp -r" and have it
exclude certain directories?
Assuming that you only need to exclude one file or dir, how about:
$ cd <src-dir>
$ find . -depth | grep -v '^<excluded-path>' | cpio -pdumv <dest-dir>
$ cd -