On Sat, 2007-10-06 at 22:52 -0600, Ashley M. Kirchner wrote: > das wrote: > > I want to keep a local copy of the Fedora 7 repository, only the i386 > > branch. This will be updated in regular intervals, that I can break it > > into DVD-s (or, even CD-s) and write them, and after installing F7 in a > > machine, the 'yum' can be run on these DVD-s. > > > > Now, can anyone please suggest a very simple way of doing this thing? > You can use rsync with any of the mirrors to keep a local copy. I > have a shell script that I run every so often: > > ~:> cat rsync.sh > echo "Getting Fedora Core 7 Updates..."; > echo -e "********************************\n"; > rsync --verbose --progress --archive \ > --partial --delete --delete-excluded \ > --exclude SRPMS/ \ > --exclude ppc/ \ > --exclude ppc64/ \ > --exclude x86_64/ \ > --exclude i386/debug/ \ > --exclude i386/repodata/ \ > rsync://mirrors.kernel.org/fedora/updates/7/ "/home/Fedora 7/Updates/"; > > > This will fetch just the i386 folder from mirrors.kernel.org and > dump it into /home/Fedora7/Updates. I suggest you look at the actual > mirror first to see what folder they have and what the full path is to > the repository - each one is different. And some places won't mirror > everything either, so you have to look and then tell rsync what you want > excluded... Sweet! I'm keeping this post in my "important" Fedora folder! Thanx, Ric -- ================================================ My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net <---down4now too ================================================