Mirroring Fedora
Bruno Wolff III
bruno at wolff.to
Mon Dec 1 05:34:24 UTC 2008
On Sat, Nov 29, 2008 at 13:38:15 -0600,
Thomas Cameron <thomas.cameron at camerontech.com> wrote:
>
> Hrm - I added that and reran the sync but since each rsync job is
> separate, it isn't hardlinking between the directories. I think I need
> to mess around with the rsycn command so that it encompasses both the
> i386 and the x86_64 directories in on sync. Off to play with the
> syntax, I guess.
This isn't exactly what you want, but I use it to grab rawhide's i386 and
x86_64 repositories. $MIRROR and $BASEDIR are the rysnc url for the
mirror and the local directory to put stuff in, respectively.
rsync -rltHvz --delete --include=/i386/ --include=/x86_64/ --exclude='/*' --inc
lude=/i386/os/ --include=/x86_64/os/ --exclude='/i386/*' --exclude='/x86_64/*' $
MIRROR/development/ $BASEDIR/official
More information about the fedora-list
mailing list