Excluding two subdirectories in rsync

Robert Moskowitz rgm at htt-consult.com
Tue Aug 25 13:18:48 UTC 2009


I have been using an rsync for Centos updates like:

rsync -auv rsync://mirrors..../updates/i386/ --delete --exclude=debug/ 
/repos/centos/updates/i386


But for Fedora 11, I see there is a drpms subdirectory that I ASSuME I 
don't need, drpms.

How do I exclude two subdirectories?  I can't figure it out from the man 
pages.

--exclude="debug/ drpms/"   ???





More information about the fedora-list mailing list