Photo Renamer - JohnAndJanita/MyPythonScripts GitHub Wiki

photo-renamer.py [-s|-d] [-r] [filespec]

  • Often times the date that a photo was taken is somehow lost within the EXIF data for the file. The only clue then for when the photo was taken may come from the filename.
  • Photos are often renamed. The new names may change the order in which files are displayed.

This program can put the date that a photo was taken back into a set of photos so long as that date information is found in the filename. It can also rename files to use a consistent date and time prefix when the filenames don't include that information.

-s = strip existing date information from the front of every file
-d = ignore exif date information when renaming files, in other words, filename date information takes precedence
-r = recursively search folders
filespec = a pathname that may include wildcards