Re: HowTo rsync smeserver-6.0unsupported.iso

"Peter Samuel" <[email protected]> Thu, 11 Dec 2003 00:14:36 -0500 (EST)
Newsgroups gmane.network.e-smith.devel
Message-ID <[email protected]>
On Wed, 10 Dec 2003, Darrell May wrote:

> HowTo rsync smeserver-6.0unsupported.iso
> 
> Grab your current beta iso and copy to /root, cut and paste everything
> 'between' (do not include) the two cut lines below which will automagically
> create /root/synciso.sh:
> 
> --------- cut here ----------------
> 
> cat << EOF > /root/synciso.sh
> 
> #!/bin/sh
> 
> OLD_ISO="smeserver-6.0beta3-unsupported.iso"
> RSYNC_OPTS="-avv --progress --stats --partial"
> MIRROR="rsync://rsynctest.sunsite.org.uk/sites/rsync.e-smith.org/e-smith/e-s
> mith/releases/6.0/iso"
> NEW_ISO="smeserver-6.0unsupported.iso"
> 
> mv \$OLD_ISO \$NEW_ISO
> rsync \$RSYNC_OPTS \$MIRROR/\$NEW_ISO .

These backslashes are not required. In fact, using them will cause
the script to fail as the literal strings will be used instead of the
expanded environment variables.

The lines should read

    mv $OLD_ISO $NEW_ISO
    rsync $RSYNC_OPTS $MIRROR/$NEW_ISO .


-- 
Regards
Peter
----------
Peter Samuel                                [email protected]


--
Please report bugs to [email protected]
Please mail [email protected] (only) to discuss security issues
Support for registered customers and partners to [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org