diff options
Diffstat (limited to 'backup.sh')
-rwxr-xr-x | backup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash RSYNC="rsync -az --progress --delete" CMDLINE="" @@ -10,7 +10,7 @@ then exit 1 fi -echo "\033[1;37mBacking up $HOST\033[0;m\n" +echo -e "\033[1;37mBacking up $HOST\033[0;m\n" . ./$HOST.sh @@ -31,7 +31,7 @@ do CMDLINE="$CMDLINE $SRC/$file/ $DST/$file/" - echo "\033[1;37mBacking up $file\033[0;m" + echo -e "\033[1;37mBacking up $file\033[0;m" echo $CMDLINE | sh done |