Skip to content

Can't modify ctime or mtime ? #342

@whinis

Description

@whinis

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) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions