Android clone function needed ASAP

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Any
Junior Member
Junior Member
Posts: 4
Joined: 2021-05-26, 01:48 UTC

Android clone function needed ASAP

Post by *Any »

Can't be done by hand but programmatically is a breeze. Just move files, parse the date and time from the name, and touch the time with the correct original date and time stamps. Android is consistent in naming files. That way pictures can be backed up or truly moved and OS searches will work correctly for dates and times. Move sets dates to the current timestamp, all order information is preserved in the name but where do you find alphanumerical day/time searches and ordering?
Any
Junior Member
Junior Member
Posts: 4
Joined: 2021-05-26, 01:48 UTC

Re: Android clone function needed ASAP

Post by *Any »

It s a three-five minutes sources matter...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Android clone function needed ASAP

Post by *ghisler(Author) »

TC already preserves the timestamp when copying or moving. However, most older Android versions fail to set the timestamp due to file system flags. It should work in Android 10 and newer.
Author of Total Commander
https://www.ghisler.com
Any
Junior Member
Junior Member
Posts: 4
Joined: 2021-05-26, 01:48 UTC

Re: Android clone function needed ASAP

Post by *Any »

So it needs a back legacy fix. I just resurrected an Android 6 phone, but can't update my A-8 to A-10 and that s the SD card s needing effective backup and cleanup (OTG).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Android clone function needed ASAP

Post by *ghisler(Author) »

The only way to fix it on old devices is to root them. TC sets the timestamp via root functions if the device is rooted.
Author of Total Commander
https://www.ghisler.com
Any
Junior Member
Junior Member
Posts: 4
Joined: 2021-05-26, 01:48 UTC

Re: Android clone function needed ASAP

Post by *Any »

I need the function to backup pictures from the phone. I can write a program to touch file timestamps in the SD card from another OS/language, but TC could do that when moving (copying) the files into the SD card. Not sure you have to be rooted to touch in the (OTG connected) card.
User avatar
BudCord
Junior Member
Junior Member
Posts: 61
Joined: 2003-02-25, 08:18 UTC

Re: Android clone function needed ASAP

Post by *BudCord »

Simple workaround:
Archive the photos on the smartphone in ZIP format (very fast) without compression.
Copy the ZIP file to your target operating system and unpack the pictures with correct date.
Make it idiotproof and someone will make a better idiot.
Post Reply