From c3554cac89f96c31db0f4a122541a9ab80a85611 Mon Sep 17 00:00:00 2001 From: Gocnak Date: Mon, 29 Oct 2018 00:23:15 -0400 Subject: [PATCH] Use compression (-z) with rsync This was dropped during the great merge of '18 --- run/rsync_archive/archive-clips.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/rsync_archive/archive-clips.sh b/run/rsync_archive/archive-clips.sh index 29f5a55..4bd8e4b 100644 --- a/run/rsync_archive/archive-clips.sh +++ b/run/rsync_archive/archive-clips.sh @@ -4,7 +4,7 @@ log "Archiving through rsync..." source /root/.teslaCamRsyncConfig -num_files_moved=$(rsync -auvh --stats --log-file=/tmp/archive-rsync-cmd.log /mnt/cam/TeslaCam/saved* $user@$server:$path | awk '/files transferred/{print $NF}') +num_files_moved=$(rsync -auzvh --stats --log-file=/tmp/archive-rsync-cmd.log /mnt/cam/TeslaCam/saved* $user@$server:$path | awk '/files transferred/{print $NF}') /root/bin/send-pushover "$num_files_moved"