Skip to content
Permalink
Browse files

add rsync options to backup script

  • Loading branch information...
cgoldberg committed Aug 10, 2019
1 parent 3afa0e4 commit 99cf90023cbc34659be06d5fc19968d154de9bd5
Showing with 6 additions and 0 deletions.
  1. +6 −0 bin/backup-world
@@ -78,14 +78,17 @@ main () {
# using rsync's --archive option (which is equivalent to -rlptgoD), we
# pass individual rsync options so the --perms option can be excluded.
rsync \
--checksum \
--delete \
--executability \
--human-readable \
--links \
--progress \
--recursive \
--safe-links \
--stats \
--times \
--verbose \
--info=progress2 \
"${DROPBOX}/" "${NAS}/Dropbox_Backup/"
echo
@@ -94,14 +97,17 @@ main () {
echo "syncing remote NAS to local HDD..."
echo
rsync \
--checksum \
--delete \
--executability \
--human-readable \
--links \
--progress \
--recursive \
--safe-links \
--stats \
--times \
--verbose \
--info=progress2 \
"${NAS}/" "${HDD}/"
echo

0 comments on commit 99cf900

Please sign in to comment.
You can’t perform that action at this time.