android-file-transfer-linux icon indicating copy to clipboard operation
android-file-transfer-linux copied to clipboard

Can't modify ctime or mtime ?

Open whinis opened this issue 1 year ago • 5 comments

So I am unsure how to debug this further as I don't get any error messages but also nothing is changed. At some point in phone transfers my photos got messed up and most of my photos are dated 2023-03-14. I mounted the phone and had a python script try and set the mtime using os.utime however whenever I read them back it was still 2023-03-14. Then I tried using filedate and the same issue, both ctime and mtime are still 2023-03-14.

I then tried to get properties using the cli and get an error

aft-mtp-cli "cd DCIM" "cd Camera" "properties 20171013_085359.jpg"

Device::Find failed:map::at
selected storage 65537  Internal shared storage
querying supported properties for format ExifJpeg
properties supported: 
error: Get: invalid response code InvalidParameter (0x201d) 

whinis avatar Sep 11 '24 13:09 whinis