diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-04-04 21:07:02 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-04-04 21:07:02 +0200 |
commit | e5a8226936512f4a7c5c5bac5676431b97334d78 (patch) | |
tree | 40b4be4903bc98a2dc9a3a6742899fb286a0e860 /backup | |
parent | 1952f586f09edf4ad1be4ddeef01e190ae152931 (diff) |
Fixed syntax error on rsync opts
Diffstat (limited to 'backup')
-rwxr-xr-x | backup | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -5,11 +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>" |