Ignore Time Shift format?

Discuss new features and functions
Posts: 15
Joined: 29 Oct 2016

Bob4K

Hi,

I want to ignore Time Shifts less than 2 seconds when syncing.

Apparently, I cannot enter a value such as 00:00:02.

If I enter just the number 2, will it mean 2 seconds, or 2 minutes?
Posts: 15
Joined: 29 Oct 2016

Bob4K

Never mind, looking at the Daylight Saving Time link, I found out it means 2 hours!

Please consider handling seconds as a tolerance as a potential improvement for a next release: when syncing between a NAS under Linux and Windows, 2 files that seem to have the same time-stamp and size are synced anyway, probably because Linux and Windows round up timestamps diferently, leading to a few ms difference.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

I want to ignore Time Shifts less than 2 seconds when syncing.Bob4K
FFS already does this by default, see FileTimeTolerance.
Posts: 15
Joined: 29 Oct 2016

Bob4K

Thanks Zenju, that's interesting information.

Then, I don't know what's happening: when using a Windows file manager (xplorer2 in my case), I see sometimes files with the same size and same timestamp, and yet FFS makes a copy that is not needed.

I thought it might be a ms time discrepancy, but with a default tolerance of 2 s, it's not.

I noticed that there is a 3s discrepancy in the time of the NAS compared to the PC time, even though both use Internet time syncing (the PC is correct, the NAS is late). Could this be the cause?

I'll set the FileTimeTolerance to 4s to see if it helps.