diff options
-rwxr-xr-x | backup | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>" |