diff options
-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>" |