Samba – Robocopy mirror to Samba keeps rewriting files

robocopysamba

We have a Samba share to which I am copying files with robocopy /mir. Problem is the next time I try and sync that with robocopy /mir it copies all files again even though they haven't changed. I can't see why robocopy should be detecting all these files as changed when they haven't been.

Any ideas?

Thanks,
Nick

Best Answer

If the original folder is formatted NTFS and the destination is EXT3 or EXT4 try the option /FFT (assume FAT File Times (2-second granularity)). NTFS and EXT* record time with different precision and that throws off the time match in robocopy.