Hi,
I have copy of Darrell May script but when I run it I got the ff. error, any idea if what is wrong with my script below?
----------------------------------------
#!/bin/sh
OLD_ISO="smeserver-6.0beta3-unsupported.iso"
NEW_ISO="smeserver-6.0unsupported.iso"
MIRROR="rsync://rsynctest.sunsite.org.uk/sites/rsync.e-smith.org/e-smith/e-s
mith/releases/6.0/iso"
RSYNC_OPTS="-avv --progress --stats --partials"
if [ -f $OLD_ISO ]; then
/bin/echo "Renaming old iso to match current release"
/bin/mv $OLD_ISO $NEW_ISO
else
/bin/echo "Old iso not found"
fi
/bin/echo "Starting rsync operations..."
/bin/echo ""
/usr/bin/rsync $RSYNC_OPTS $MIRRORS/$NEW_ISO
/bin/echo ""
/bin/ls -l $NEW_ISO
----------------------------------------------
[root@e-smith root]# sh synciso.sh
Renaming old iso to match current release
Starting rsync operations...
rsync: --partials: unknown option
rsync error: syntax or usage error (code 1) at main.c(837)
-rw-r--r-- 1 root root 350027776 Aug 1 21:20 smeserver-6.0unsupported.iso
[root@e-smith root]#
tia,
Nef Kho