View Single Post
Old 05-06-2020, 03:44 PM   #9
OrangeFlavored
Enthusiast
OrangeFlavored doesn't litterOrangeFlavored doesn't litter
 
Posts: 34
Karma: 100
Join Date: Oct 2014
Device: Likebook Mars
Quote:
Originally Posted by NiLuJe View Post
Can't you just stat() the metadata file to get the mtime?
Problem is I don't have a way of getting the metadata files from my ereader to my PC without messing up the timestamp. Text files are just a workaround for that, otherwise yeah I'd do something like that. ADB Pull has a switch to maintain timestamps, but unless I pull the files individually I need a way to move them around on the Android filesystem while maintaining timestamps as well, and I kept running into permission errors when trying to do this through various methods... Writing the timestamps back into the files and deleting the text files after moving them to my PC should be possible but would just make the process take even longer so I just left them in for now.

Quote:
Originally Posted by Frenzie View Post
At a quick glance that looks fairly cross-platform btw?
Yeah, it probably would work on other platforms too, though I only tried it on windows.

Last edited by OrangeFlavored; 05-06-2020 at 03:49 PM.
OrangeFlavored is offline   Reply With Quote