I tried using the following script to mirror cooker daily
#! /bin/bash
rsync -av ftp.sunet.se::Mandrake-devel /home/ftp/Linux/
I use the mirror mostly for ftp installations and the above downloads much
more than I use.
Does this look reasonable?
#! /bin/bash
rsync -av --exclude 'ppc/'
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
: [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
, 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
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