Re: Excluding two subdirectories in rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Moskowitz wrote:
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/"   ???


Add another --exclude instead.
rsync -auv rsync://mirrors..../updates/i386/ --delete --exclude=debug/ --exclude=drpms/ /repos/centos/updates/i386

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux