mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Use compression (-z) with rsync
This was dropped during the great merge of '18
This commit is contained in:
@@ -4,7 +4,7 @@ log "Archiving through rsync..."
|
|||||||
|
|
||||||
source /root/.teslaCamRsyncConfig
|
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"
|
/root/bin/send-pushover "$num_files_moved"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user