Quote:
Originally Posted by NiLuJe
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
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.