clarified usage
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAl9Nd6AACgkQO3+8IhRO Y5igzQ/9FSUpwk6Ehl6oPNqdjVyN7Vsite+fnqXowy+tcgtu94yawJ4iKipJczlX ZIuf5eq6E7ab2xXzlGP2cB6bb4EnP9o91OXvzEs0rTWfwwXlwPfvhV3ORS2GC2Sr eAGkgh6/oG1q7USWMTli1msehZvGp8yA5Df6WFDUVY4sziVT+dHlFgKXHFqFe/+M asQH0GXcE7iw7txP6g1o8HP0QEWZa6du2UTWaMRFmsaJ2/9theF5HhaSEzK9gQ3C zXeXraGRgl4pzpY0In2/i+M2kiRdfNyELxAT0WeQWpVS6Cu+IILCsY2VF9/esPqF S9Sn3fwYNzQwLXolvNMiTIG4EjclicyEEtNRd0YTo+ThNAJEyv8kQ2fiJL/XVcyO 4505H+UG9HS9nz1aJUSk1lZ3PiCNw07JSD7Tv/56kcXyOmgx6JSnES1iCuLtpXoj bfaWfyGo80XSpeqpu+cxz4LjWldIORo4v6MVPUNYO0t4RRQHODwNWwj48sQexVqf ecDD6BYEz4zj3tcsGkW+p4ctjf7xgyeMKtQgjQoUNU/CwnAZNgpwQaSOb+v3ZCvO L0mjwrjmvz64Qqm8cSKbzSZP+Ufox7W95DtBZGTxTKT1uX7AEnqiesOhVLJwIMNF besSTwENVSUSc2oGUDRLLyf6KWDcBcsHS5lwfk2wKxN0SFGwZdA= =+LOQ -----END PGP SIGNATURE-----
1 files changed,
13 insertions(+),
5 deletions(-)
jump to
M
kyanite.sh
→
kyanite.sh
@@ -2,13 +2,21 @@ #!/bin/sh
helpme() { echo "usage:" - echo " kyanite.sh full|partial|restore SRC DEST [options]" + echo " $0 full|partial|restore SRC DEST [options]" echo " COMMANDS:" - echo " full: make a full backup of SRC to DEST/HOST/TIMESTAMP_full/" - echo " this can be a remote path in user@host:path form too" - echo " partial: make partial backup of SRC to DEST/HOST/TIMESTAMP_part/" + echo " full: Make a full backup of SRC to DEST/HOST/TIMESTAMP_full/" + echo " partial: Make partial backup of SRC to DEST/HOST/TIMESTAMP_part/" echo " relative to the latest full backup in that directory" - echo " restore: restore the backup at DEST/ to SRC/" + echo " restore: Restore the backup at DEST/ to SRC/" + echo " SRC:" + echo " Relative or absolute path for the source to backup or restore from." + echo " When backing up, can be a remote path in the form of user@host:path;" + echo " The HOST component of the kyanite backup path is gleaned from this if so." + 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 " OPTIONS:" echo " anything provided after DEST is passed as additional options to rsync," echo " e.g. '--exclude .cache'"