From 2eab273d16e995b9f2c5e3546db6c8c308e8aaa7 Mon Sep 17 00:00:00 2001 From: Dmitri Popov Date: Fri, 30 Mar 2018 22:55:44 +0200 Subject: [PATCH] Change rsync options --- scripts/card-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/card-backup.sh b/scripts/card-backup.sh index 43ae37a..199d6c3 100755 --- a/scripts/card-backup.sh +++ b/scripts/card-backup.sh @@ -76,7 +76,7 @@ if [ ! -z $CARD_READER ]; then BACKUP_PATH=$STORAGE_MOUNT_POINT/"$ID" # Perform backup using rsync - rsync -av --exclude "*.id" $CARD_MOUNT_POINT/ $BACKUP_PATH + rsync -ah --exclude "*.id" $CARD_MOUNT_POINT/ $BACKUP_PATH # Turn off the ACT LED to indicate that the backup is completed sudo sh -c "echo 0 > /sys/class/leds/led0/brightness"