[CentOS-mirror] Selective RSync
imre.gergely at astral.ro
Wed Apr 11 19:56:51 UTC 2007
Jim Zimmerman wrote:
> To save bandwidth, I'm setting up a local repository/mirror from which
> our CentOS 4 farm will pull its updates. Since we are using only the
> x86 architecture, I'd also like to save space by not downloading and
> storing anything that isn't required for the x86 architecture.
> Does anyone have any experience or advice on how best to configure rsync
> to skip the parts of the mirror that aren't necessary for the x86
i did it like this:
rsync -vaH --delay-updates --delete --delete-excluded --exclude="alpha/"
--exclude="ia64/" --exclude="s390/" --exclude="s390x/"
first you should get the whole list, without any exclude, and with the
"--dry-run" option to rsync, then you go thru the list, and exclude
everything you don't need with the --exclude options.
and 'man rsync' :)
and if you want only the 4.4, you can go like this:
28 Dostoievski St., 400424 Cluj-Napoca
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305
More information about the CentOS-mirror