Android clone function needed ASAP
Moderators: Hacker, petermad, Stefan2, white
Android clone function needed ASAP
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?
Re: Android clone function needed ASAP
It s a three-five minutes sources matter...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Android clone function needed ASAP
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
https://www.ghisler.com
Re: Android clone function needed ASAP
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).
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Android clone function needed ASAP
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
https://www.ghisler.com
Re: Android clone function needed ASAP
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.
Re: Android clone function needed ASAP
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.
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.