From dbc92bafe2fef341e80c36af6ddd2064d9c45c4a Mon Sep 17 00:00:00 2001 From: vgoah Date: Sun, 16 Jan 2011 12:57:49 +0000 Subject: [PATCH] add some comment --- other-sh/softbackup2.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/other-sh/softbackup2.sh b/other-sh/softbackup2.sh index dbd4385..22efec2 100644 --- a/other-sh/softbackup2.sh +++ b/other-sh/softbackup2.sh @@ -18,7 +18,16 @@ error() usage() { - echo "Usage: $PROGRAM [--all] [--help] [--version] [--kind tar|cpio] [--passwd] [--backup_path ] [--backup_command ] [autobat|litestep|fox|vgoah_fox|greenfox|homey|l_disk|local|maily] ..." + echo "Usage: $PROGRAM [--all] [--help] [--version] [--kind tar|cpio]" + echo -e "\t[--passwd] [--backup_path ] [--backup_command ] [autobat|litestep|fox|vgoah_fox|greenfox|homey|l_disk|local|maily] ..." + echo -e "for example" + echo -e "backup Totalcmd7 of utensil to path /l/local-backup:" + echo -e "\t softbackup2.sh -b /l/local-backup -c cp -u Totalcmd7 utensil" + echo -e "backup some other utensil:" + echo -e "\t softbackup2.sh -b /l/local-backup -c cp -u FindAndRunRobot -u Everything-1.2.1.371 -u CintaNotes1.2 -u ditto-3.16.8.0 utensil" + echo -e "backup home with password:" + echo -e "\t softbackup2.sh -b /l/local-backup -c cp -p homey" } usage_and_exit() -- 2.11.4.GIT