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 - _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx