From: FSF BOFH Date: Thu, 25 Aug 2011 15:24:11 +0000 (-0400) Subject: Log the complete command line X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f8bf765ce44daf9004621909727edb7c345d0844;p=wizbackup.git Log the complete command line --- diff --git a/wizbackup b/wizbackup index 816a66b..975fc6a 100755 --- a/wizbackup +++ b/wizbackup @@ -1,6 +1,6 @@ #!/bin/bash # -# WizBackup 2.0 - Simple rsync backup +# WizBackup 2.0 - Simple rsync backup with snapshots # Based on incremental-backup 0.1 by Matteo Mattei # # Copyright 2006 Matteo Mattei @@ -168,7 +168,8 @@ do_test() # make sure to be root if (( `id -u` != 0 )); then { echo "Sorry, must be root. Exiting..."; exit; } fi -echo "$(date): START backup: $SRC -> $DEST" +echo "$(date): BEGIN backup: $SRC -> $DEST" +echo "$(date): $0 $SRC $DEST $@" do_init do_prune do_test