Daylight saving and Multi-sync, sync files.

For user who dont speak german please use this part of my forum
adi7ch
Beiträge: 40
Registriert: Do 31. Okt 2013, 07:53

Daylight saving and Multi-sync, sync files.

Beitrag von adi7ch »

I'm using the above to backup my SD card.
Whenever the time changes due to daylight saving, by one hour, MPE is copying my SD files again with suffix (1), (2), etc. It takes time and wastes space (4.5GB).
Is there a way to stop this?
I have duplicate twice a year, every time the Daylight saving occurs.
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

This happens to me too. Twice a year watching about 25 GB of files get recopied. It would be nice to fix this bug.
Koelner
Beiträge: 1691
Registriert: Do 11. Okt 2012, 21:12
Wohnort: Deutschland

Beitrag von Koelner »

Bill Irwin hat geschrieben:It would be nice to fix this bug.

No bug, just a settings problem.
Nur Geduld! Mit der Zeit wird aus Gras Milch.
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

Koelner hat geschrieben:
Bill Irwin hat geschrieben:It would be nice to fix this bug.

No bug, just a settings problem.


A settings problem that is solved how?
Giangi
Beiträge: 65
Registriert: Sa 12. Dez 2015, 11:50
Wohnort: Italy

Beitrag von Giangi »

Me too I would like to know this "settings"...

The problem should be the same as sync'ing a FAT<->NTFS because FAT is not saving the date in UTC format but uses the local timezone on the device...

I know very well this problem because I had it since I was using a Palm Treo PDA!!
The sync config should have two more settings:
- ignore a difference in seconds up to 2 seconds (FAT limitation)
- ignore a difference in exactly 1 hour (but including the above 2 secs rounding)
More infos:
FileTime on MSDN
Beating the Daylight Savings Time bug and getting correct file modification times
Zuletzt geändert von Giangi am Sa 28. Mai 2016, 07:38, insgesamt 1-mal geändert.
icke1954
Moderator
Beiträge: 18155
Registriert: Sa 19. Apr 2014, 10:35

Beitrag von icke1954 »

@Giangi
Thanks for this information!
Have you testet the SD-Format "ExFAT"?

Best regards icke
Giangi
Beiträge: 65
Registriert: Sa 12. Dez 2015, 11:50
Wohnort: Italy

Beitrag von Giangi »

That should solve the problem, but it's almost not used anywhere... 8)

My Treo 650 was reading SD formatted in FAT/FAT32 only and I bet Android cannot read exFAT too!
icke1954
Moderator
Beiträge: 18155
Registriert: Sa 19. Apr 2014, 10:35

Beitrag von icke1954 »

Giangi hat geschrieben:...and I bet Android cannot read exFAT too

This ist not correctly, my Galaxy S3 and S5 can read it and I do not know this problem
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

Although these articles are interesting in describing why file times may be seen as different after a DST transition, it doesn't solve the problem. Is there a setting change in MPE, or in Windows 10, which I can make to eliminate it?
Giangi
Beiträge: 65
Registriert: Sa 12. Dez 2015, 11:50
Wohnort: Italy

Beitrag von Giangi »

icke1954 hat geschrieben:This ist not correctly, my Galaxy S3 and S5 can read it and I do not know this problem


That's good to know, I may give it a try!

Bill Irwin hat geschrieben:Is there a setting change in MPE, or in Windows 10, which I can make to eliminate it?


It's the sync program that must be able to handle this, as far as I know MPE is not and there isn't anything on the OS.

In the past I used SyncToy and now I use FreeFileSync to do these kind of jobs (but not with my MotoG 2 because Android's MTP implementation is "very poor" to be polite) and both have a settings to handle DST change as I have described above...
FJ
Site Admin
Beiträge: 32106
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol
Kontaktdaten:

Beitrag von FJ »

MyPhoneExplorer already knows this behaviour and he should not copy files if the timestamp diffrence is equal to the daylight diffrence. Which timezone you have set on syour devices? So i can check the behaviour on my PC...
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.

Bitte benutzt auch die Forum-Suche bzw. die FAQ
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

I am in Pacific time zone GMT-07:00 Pacific Daylight Time on my Galaxy S4 running CyanogenMod Android 5.1.1.

Windwos 10 states (UTC-08:00) Pacific Time (US & Canada)
Giangi
Beiträge: 65
Registriert: Sa 12. Dez 2015, 11:50
Wohnort: Italy

Beitrag von Giangi »

FJ hat geschrieben:MyPhoneExplorer already knows this behaviour and he should not copy files if the timestamp diffrence is equal to the daylight diffrence.

I'm sorry FJ, you are right! My fault that I didn't double checked before writing... :oops: :oops: I think I didn't do a sync since last DST change...
I'm on GMT+1 (like you :) ) and I did:
- uploaded a file on a folder into external memory
- executed a Phone->PC sync (whole external memory), files were copied
- put the phone in airplane mode
- powered off the adsl router
- I took screenshots of a folder both from MPE and from pc
- moved both phone and pc (Win7) forward to 31/10/2016 (DST ends on 30)
- I took another screenshots and found this:
+ on pc the files (NTFS disk) were moved back 1 hours
+ on MPE the files (external SD, FAT32) were still at the same time! Checked with ES File Explorer and indeed the file time didn't change! I guess is a strange Android behaviour... :?:
- executed a Phone->PC sync (whole external memory), nothing copied!
- restored time on both pc and phone
+ on pc the files (NTFS disk) were moved forward 1 hours
+ on MPS the files (external SD, FAT32) were still at the same time, equal to the pc's one
- executed a Phone->PC sync (whole external memory), nothing copied!

So, other than the fact that time shown on Android isn't changed, everything is correct!
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

I sync automatically every two hours between 9 am and 9 pm. The first sync after the DST change results in a permission window asking to approve edits to thousands of files that have not been changed.

Is this an Android issue where the DST time stamp doesn't get adjusted yet the Windows stamp does, resulting in MPE thinking all the files are an hour different?
adi7ch
Beiträge: 40
Registriert: Do 31. Okt 2013, 07:53

Beitrag von adi7ch »

With me, my PC is at (UTC+02:00) Jerusalem
On my SGS4 it's set to network provided time that is equal to GMT +03:00 Israel Daylight Time.
adi7ch
Beiträge: 40
Registriert: Do 31. Okt 2013, 07:53

Beitrag von adi7ch »

Well, today the time at my country changed again and a new set of duplicates was copied to my PC.
Already posted my time settings at both: PC & Mobile but never got a reply or any other reference.
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

Another year and another batch of thousands of files syncing that have not been modified. Now the problem is worse because I have a tablet that's now in the sync loop.

First sync after daylight time change about 5 GB of unchanged files from Android phone get Edited to PC. PC sends these edits to the tablet. Since the PC dates have now changed they all get copied to my backup server and to my Mozy cloud backup. Huge waste of time!

More importantly, the dates on the files lose their original modification date. When I scan the files on my PC they all show being modified today or yesterday. This makes it impossible to search for old files, or any files, by date.

I love MPE but I don't understand why there have never been any instructions provided on how to avoid this, or to fix the bug that's causing it. Just a clear step-by-step instruction on what I should do, if I'm able to solve this without a program fix.
Giangi
Beiträge: 65
Registriert: Sa 12. Dez 2015, 11:50
Wohnort: Italy

Beitrag von Giangi »

DST arrived in Italy too and my sync was smooth and perfect.

Are you sure to have the SAME time zone on both the phone and pc?
Bill Irwin
Beiträge: 62
Registriert: Mi 26. Sep 2012, 08:38
Wohnort: White Rock, BC Canada

Beitrag von Bill Irwin »

Yes, I'm certain: GMT -7 on all devices.

If you don't have this problem, using Windows 10 and Android, then there's hope that this can be resolved without a fix in MPE. I'd love to know what it is.
adi7ch
Beiträge: 40
Registriert: Do 31. Okt 2013, 07:53

Beitrag von adi7ch »

Hi all, I started this thread and I'm still suffering from this issue.
My 5.1.1 Android Galaxy S4 is on GMT +3, using network provided time.
My Win 7 PC is on UTC +2, set by work administrator.
Of course on the daylight change date I "won" a new copy of my SD Card with the suffix of (4) by now, to the whole 29 Gb of my SD.
Never got a solution to this.
Will somebody please give me a working solution?
Antworten