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

Re: Using rsync to maintain local FC10 updates repo



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 tmr com>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


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