On 2001.02.06 23:35:07 +0400 [EMAIL PROTECTED] wrote:
> I am using one that I got awhile back, but it has some problems.
Mine is not a 'good' script, but gives me full satisfaction:
#!/bin/sh
# Synchronise le miroir local de cooker
# definition de variables
OPT="-av --delete"
SERVER="sunsite.uio.no"
DIR="/var/ftp/pub/distributions"
# cooker
echo
echo "mirroring cooker"
echo "----------------"
rsync $OPT \
$SERVER::Mandrake-devel/ \
$DIR/mandrake-devel
# updates
echo
echo "mirroring mandrake"
echo "------------------"
rsync $OPT \
$SERVER::Mandrake/ \
$DIR/mandrake
If you're looking after something more complete, you should have a look at
Ron Stodden's one (search in mailing lsit archives for exact URL, or just
wait for Ron to recall it there).
Guillaume
--
If mathematically you end up with the incorrect answer, try multiplying by
the page number
-- Murphy's Laws on Technology n°35