diff --git a/scripts/sync b/scripts/sync index 7ab6117ca..318deeb2d 100755 --- a/scripts/sync +++ b/scripts/sync @@ -57,9 +57,14 @@ syncHost() { (moby) # copy photos/screenshots from moby to desko: rsync -arv --exclude servo-macros "$mobyHome/Pictures/" "$deskoHome/Pictures/from/moby/" + ifExists /mnt/servo/media/Books/Audiobooks \ + rsync -arv --delete /mnt/servo/media/Books/Audiobooks/ "$mobyHome/Books/Audiobooks/" # copy books from servo to moby; delete old/untracked ones, but keep KOreader state files (sdr) ifExists /mnt/servo/media/Books/Books \ - rsync -arv --delete --exclude '*.sdr' /mnt/servo/media/Books/ "$mobyHome/Books/" + rsync -arv --delete --exclude '*.sdr' /mnt/servo/media/Books/Books/ "$mobyHome/Books/Books/" + # TODO: recover servo Books/Visual collection, and then re-enable syncing + # ifExists /mnt/servo/media/Books/Visual \ + # rsync -arv --delete --exclude '*.sdr' /mnt/servo/media/Books/Books/ "$mobyHome/Books/Visual/" # copy music ifExists /mnt/servo/media/Music/Various.Artists \ sane-sync-music --compat /mnt/servo/media/Music "$mobyHome/Music" "${syncFlags[@]}"