Disregard copying perms to catch another edge case

Pesky, was caught up trying to copy permissions over and didn't really need to
This commit is contained in:
Gocnak
2018-10-29 01:32:17 -04:00
parent f15d597025
commit 636b1a1819

View File

@@ -4,7 +4,7 @@ log "Archiving through rsync..."
source /root/.teslaCamRsyncConfig source /root/.teslaCamRsyncConfig
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}') num_files_moved=$(rsync -auzvh --no-perms --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"