[CentOS-mirror] DVD's being deleted during rsync process - how to prevent?

David Richardson david.richardson at utah.edu
Fri Nov 6 22:16:37 UTC 2009


On Fri, 6 Nov 2009, John C. Young wrote:

> Hi All,
>
> We seem to have a problem with the CentOS DVD's being deleted from the US
> Centos Mirror RSync download site when an rsync occurs, is there a way to
> prevent this?
>
> I am familiar with using the --exclude "/filename.name" switch in rsync, but
> since there are (at least) 4 ISO's we need to specify, I do not think that
> this will work, as it is now, I'm having to recopy the DVD's each morning
> which is leaving us without them available to users for some time, and a
> manual process for me.

You cou use multiple --exclude options or you use wildcards:
--exclude "*DVD*.iso"

DR

-- 
David Richardson <david.richardson at utah.edu>
"There are two kinds of statistics:
the kind you look up and the kind you make up."
-- Archie Goodwin, Death of a Doxy


More information about the CentOS-mirror mailing list