Here are 3 sample file names which I had to deal with:
- 20160530_134327.jpg
- 20160530_134417_Pano.jpg
- 20160530_163722(1).jpg
Soon I noticed, that the file name itself has a date stamp. Voila, I could restore them, but how? I had screwed up almost more than 394 pictures! The way I saw it, I had 2 options:
- Either, by using some date utility software or uploading all pictures to Google Drive or OneDrive which also let me fix the date time stamp – these would let me fix one picture at a time
- Or, I could do something about it
The first alternative, as a computer scientist, was very inefficient time & bandwidth wise, not to mention very boring. The latter, was to write a program, using my repertoire of C# and .NET. The entire code was less than 20 lines and took less than 5 minutes to get me going … also I can tweak and reuse this code in future if I need to!
https://github.com/ablaze8/DateTimeAutoFix/blob/master/DateTimeAutoFix/Program.cs