Yesterday, I moved a bunch of old pictures and videos to my phone, using a FTP server I installed on my phone. Everything went fine, but today I discovered that the date of all the copied photos and videos was set to yesterday. As a result, my photos and videos are now showing up in the wrong order in the Gallery app.
(Click image to enlarge)
Luckily, the date and time is still preserved in the filenames. Right now, I want to restore the photos' and videos' date using their filenames.
I'm interested in a way to do so. I don't really care whether it's by using an app or script or something else.
I'm aware of the fact that I can copy the files from my computer to the phone again using a different protocol, but that is not what I'm looking for.