aboutsummaryrefslogtreecommitdiffstats
path: root/backup
diff options
context:
space:
mode:
Diffstat (limited to 'backup')
-rwxr-xr-xbackup6
1 files changed, 1 insertions, 5 deletions
diff --git a/backup b/backup
index c9abda8..c985399 100755
--- a/backup
+++ b/backup
@@ -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>"