From ce51a5db7ce872b2384d84a9d92f07a65385ba20 Mon Sep 17 00:00:00 2001 From: Mario Santagiuliana Date: Sun, 4 Apr 2010 10:54:32 +0200 Subject: [PATCH 1/2] Add comment to log file when run script without option --- dt-s3-backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dt-s3-backup.sh b/dt-s3-backup.sh index a2e5ed1..5916006 100755 --- a/dt-s3-backup.sh +++ b/dt-s3-backup.sh @@ -388,6 +388,7 @@ elif [ "$1" = "--backup" ]; then get_file_sizes else + echo -e "[Only show `basename $0` usage options]\n" >> ${LOGFILE} echo " USAGE: `basename $0` [options] From 27e16f0f0c25884820a8c3ce427a744d2a7dbd2f Mon Sep 17 00:00:00 2001 From: Mario Santagiuliana Date: Sun, 4 Apr 2010 11:03:38 +0200 Subject: [PATCH 2/2] Correct my nickname: marionline --- CHANGELOG | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b1ea7c4..ad92097 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,16 +2,16 @@ =========================== * Moved the source code to github - * Add --list-files to view in the standart-output files stored in my archive [mariononline] + * Add --list-files to view in the standart-output files stored in my archive [marionline] * Added ECHO command to troublshoot the code when needed - * Added command line --restore to path & removed RESTORE variable [mariononline] - * Added --restore-file option [mariononline] + * Added command line --restore to path & removed RESTORE variable [marionline] + * Added --restore-file option [marionline] * Changed --backup-this-script to --backup-scrip * Added README to --backup-script * Force use of --backup option (no accidently running the script) - * Added help text to the command line script itself [mariononline] + * Added help text to the command line script itself [marionline] * Script without options shows --help and current directory settings - * Script checks to make sure you have put some variables in before it runs [mariononline] + * Script checks to make sure you have put some variables in before it runs [marionline] * A number of other minor changes Version Three (01/31/09)