Den 2019-08-01 kl. 23:13, skrev ToddAndMargo via users:
Hi All,
Is there a way to do a "cp -r" and have it
exclude certain directories?
I can't see how you can do that, but you can do thiss with rsync.
Look at the man page for rsync. Look at following options:
--exclude=PATTERN exclude files matching PATTERN
--exclude-from=FILE read exclude patterns from FILE
Many thanks,
-T
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
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@lists.fedoraproject.org
--
Regards
Jon Ingason