summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/backup.sh b/backup.sh
index 4425ee2..9231898 100755
--- a/backup.sh
+++ b/backup.sh
@@ -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