You got it. -Dave
On Tuesday 22 January 2002 10:41, you wrote: > so my commandline would be > rsync -av --delete ftp.sunet.se::Mandrake-devel/cooker/i586 /home/cooker > > for example? > > /MattB > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Seff > Sent: Tuesday, January 22, 2002 9:05 AM > To: [EMAIL PROTECTED] > Subject: Re: [Cooker] Rsync cooker > > > Yes, by adding --delete to your rsync command. It will remove the older > files > and make sure that your directory matches exactly with the remote server's > directory. Use with care, because if the Mandrake team decides to change > the dir structure it could wipe out your entire directory. > > -Dave > > On Tuesday 22 January 2002 09:35, you wrote: > > I have tried to rsync cooker from the sunet archive, > > it took a whole night but thats ok hehe. > > > > But rsync doesn't remove the old file, > > only adding the new filename. Is there any way to > > get around this without having to manually go and remove > > the old files? > > > > /MattB