aboutsummaryrefslogtreecommitdiffstats
path: root/backup
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-04-05 20:55:45 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-04-05 20:55:45 +0200
commitecad592e93045f698786d356ef9f0bbe51a61163 (patch)
tree81ac377508f9f8ffc8520fb60e8c068c7089e39d /backup
parent07d357490e554e8af786c3d4d0cb2b74d7793d1d (diff)
Removed quotes around exclude
Diffstat (limited to 'backup')
-rwxr-xr-xbackup2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup b/backup
index 42bbdbf..2588d0a 100755
--- a/backup
+++ b/backup
@@ -5,7 +5,7 @@
LOG_DIR="$HOME/rsync_logs"
LOG_FILE="$LOG_DIR/$(date --iso-8601).log"
-RSYNC_OPTS=("-aP" "--no-owner" "--delete-during" "--exclude=\"lost+found\"" "--log-file=$LOG_FILE")
+RSYNC_OPTS=("-aP" "--no-owner" "--delete-during" "--exclude=lost+found" "--log-file=$LOG_FILE")
if [ $# -lt 2 ]; then
echo "Usage: backup <src> <dst>"