Depends on how you actually perform the mirroring. A good mirror tool
(fmirror?) should do it.
I personally use rsync. There's an option in rsync that will delete any
files that no longer exist on the master site. I think I use something like
the following..
rsync -av --progress --delete --exclude "*.src.rpm"
rsync://blah.com/Mandrake-devel /mirror/Mandrake-devel
(That is all one big line..)
To break that down..
-av = Archive and verbose mode
--progress = Show me what's going on
--delete = Delete packages that no longer exist
--exclude "*.src.rpm" = I don't want source RPMs
rsync://blah.com/Mandrake-devel = The server and tree I'm mirroring
/mirror/Mandrake-devel = Where I'm keeping the mirror locally
Works like a charm. =)
Don Head
Linux Mentor
Wave Technologies, Inc.
[EMAIL PROTECTED]
-----Original Message-----
From: Armisis Aieoln
To: [EMAIL PROTECTED]
Sent: 6/18/00 1:33 PM
Subject: [Cooker] Cooker Cleaner needed
Hello again all, Just writing to see if anyone can suggest a utility for
cleaning out old versions of my RPMS/files from my
/Mandrake-devel/cooker
directory... The more I upgrade the more old stuff gets left behind and
I have
to manualy get in there and root arround for stuff that is no longer
needed or
outdated. I was hoping some one has already addressed this issue but If
not I
would love to try to make a script or something to do the job, but I
dont know
where to begin in writing such a tool.
Dave
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
LINUX - Why?
Cause I dont do windows
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=