TC-A 2.62 Request: preserve date/time stamp on copy.

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

jhartmann
New Member
New Member
Posts: 1
Joined: 2019-06-11, 09:51 UTC

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *jhartmann »

TC still can't preserve timestamps regardless of Android version. Not even when copying to FTP servers. That's definitely not Android's fault.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *MVV »

Are you sure it is not an Android fault? BTW TC preserves timestamps when you copying files within Android, but there is no way to tell Android to set specific timestamp for a file so all newly created files get current timestamps. Or do you know a way?
MrCricket
Junior Member
Junior Member
Posts: 49
Joined: 2009-05-04, 15:30 UTC

Re:

Post by *MrCricket »

ghisler(Author) wrote: 2015-11-16, 10:33 UTC Yes, it's a well known Android bug, but Google refuses to fix it: It's not possible to set/copy the timestamp
of files on Android due to missing permissions of the user to set them. Only the root user is allowed to set/copy the timestamp.
- perhaps that was true for "old" Android versions?
I just tried Image and Video Date Fixer on my non-rooted Galaxy S10e and it succeeded to change mtime for pictures both on internal memory and sdcard.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *ghisler(Author) »

Yes, it works on Android 10 and 11 with Total Commander, at least on my S10e too.
Author of Total Commander
https://www.ghisler.com
MrCricket
Junior Member
Junior Member
Posts: 49
Joined: 2009-05-04, 15:30 UTC

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *MrCricket »

Works for me as well, thanks! (S10e/Android11/TC3.22)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *MVV »

Yes, some time ago I noticed too that mobile TC is able to set timestamps, and it is great!
BTW my old good Samsung Galaxy A3 (2017) runs on Android 8.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *ghisler(Author) »

TC always sends the command to set the timestamp after copying, but due to a very old Android bug this has been ignored for many Android versions. It was fixed by Google in Android 9 or 10.
Author of Total Commander
https://www.ghisler.com
anmac1789
Junior Member
Junior Member
Posts: 36
Joined: 2020-11-30, 01:33 UTC

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *anmac1789 »

Can this work with preserving seconds timestamps of folders within android to PC (could be directly to windows 10 or to ubuntu --> windows). I am trying to find ways around the annoying 2 second timestamp forward/backward of zip archives when extracting folders.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC-A 2.62 Request: preserve date/time stamp on copy.

Post by *ghisler(Author) »

ZIP files use the old DOS timestamp, which has a resolution of 2 seconds. The SMB plugin does not currently keep folder timestamps, just file timestamps.
Author of Total Commander
https://www.ghisler.com
Post Reply