fix remote host and typo in help
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmB1FN4ACgkQO3+8IhRO Y5iQbQ/9Fzi1U+rKmSpb2MGlvQ2OaRog/i9Oa4cPikOz5VVDGVdI4KFB8Vtgfos5 x/IEM/JyGXuPVBZTs4SsDK7ZT/HK+tI1BBdqoBLu42X0FSKvtsXrlggb1TbG177O Hwi9zWLf2lqkRn24fNsqnMnfVJNmEHX3HrFd+1ESJxtBoYWaVSgyI6ALESsMFe1Y 6+9O3vClHfxdb4FADasczQHwqFuZByaPZRMng5nvIcrtqDCM4OFvA7REu3AMR5UN RaIBKM/E4S/Axu/8FoDOjnx5V2sFcCxiM1ls9AFjN1YkTn4eZknjWxQS2b1DHlV2 6r2I/1UWN+TLyBkxmmqss9dkx+x/CC1E1fiHQLB4DPbd9FcLgtXaH6nmGvq+ZB+4 S3jHAZWZD2qrTOkUJ2zlJM0K7US7Mx9h9LpQIkUNWUJOWjKKardY5s0P/jwNv9HW TaLLnPpXnFSuLUu8ak9BHlUgDaG9RmqJtJBhyYcNGcE8rWAiirn2qlxlh64loeym 6iQR5Xx+Jgc+w4asd7i5HdO2OuUrusSs1/73vgKDhrc2KStfib2563sT41+egRHx w2fnoOE7AFUDxF4JMJx3LZNcFMhpFDBkSXUbT3EDvwUGAG+K7V/fKlH//Gffy2fl LYJwITIkPjsJAwlZyFjPFU2PapN2+kvxTUgd0mrm+kYHfhGCOp4= =Todx -----END PGP SIGNATURE-----
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
kyanite.sh
→
kyanite.sh
@@ -16,7 +16,7 @@ echo " When restoring, this is the full path to the timestamped backup folder."
echo " DEST:" echo " Relative or absolute path for the destination to backup or restore to." echo " When backing up, this is path to the root of your kyanite backups." - echo " When retoring, this is the path to your restore destination." + echo " When restoring, this is the path to your restore destination." echo " OPTIONS:" echo " anything provided after DEST is passed as additional options to rsync," echo " e.g. '--exclude .cache'"@@ -41,7 +41,7 @@ srcDir=$1;
shift; destDir=$1 -remoteHost=$(echo $destDir | awk -F : '{ print $1 }' | awk -F @ '{ print $2 }'); +remoteHost=$(echo $srcDir | awk -F : '{ print $1 }' | awk -F @ '{ print $2 }'); if [ ! -z "${remoteHost}" ]; then host=${remoteHost};@@ -67,4 +67,4 @@ ;;
*) helpme ;; -esac+esac