0

I've a script that syncs files between my server to my mobile via sshpass:

sshpass -p password rsync -vrz source1 source2 -e ssh user@ip:dest

using

-vrz 

rsync everytime checks all files to mobile,

using

-vrz --update --modify-window=1

rsync doesn't update newer files from server to mobile

how are the correct options to use rsync with fat32?

  • 3
    Have you tried with --size-only? – watchmansky Sep 13 '17 at 18:36
  • 1
    You may be running into trouble with FAT32's low-precision timestamps, in which case adding --modify-window=2 might help. See this previous answer and its comments. – Gordon Davisson Sep 13 '17 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.