Using rsync to maintain local FC10 updates repo
Bill Davidsen
davidsen at tmr.com
Thu Feb 19 18:02:56 UTC 2009
Gordon Messmer wrote:
> Robert Moskowitz wrote:
>>
>> So I wanted to do a simple rsync against one of the mirrors, and tried
>> the script:
>>
>> #!/bin/sh
>> rsync -auv
>> rsync://mirrors.usc.edu/pub/linux/distributions/fedora/linux/updates/10/i386/
>> \
>> --delete --exclude=debug/ /repos/fedora/10/updates/i386
>
> The rsync paths aren't like the ftp or http paths. You want:
>
> #!/bin/sh
> rsync -auv rsync://mirrors.usc.edu/fedora/linux/updates/10/i386/ \
> --delete --exclude=debug/ /repos/fedora/10/updates/i386
>
> Except that this mirror's rsync seems to be broken! ;)
>
How does that work? Why don't you need -r to recurse? I tried a small test and
it doesn't seem to have become the default behavior or anything.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the fedora-list
mailing list