Skip to content

A python script to rename image files based on date photo taken from EXIF metadata

License

Notifications You must be signed in to change notification settings

matthewrenze/rename-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rename Images with Date Photo Taken

Purpose: Renames image files in a folder based on date photo taken from EXIF metadata

Author: Matthew Renze

Usage: python.exe rename.py input-folder

  • input-folder = the directory containing the image files to be renamed

Example: python.exe rename.py C:\Photos

Behavior:

  • Given a photo named "Photo Apr 01, 5 54 17 PM.jpg"
  • with EXIF date taken of "4/1/2018 5:54:17 PM"
  • when you run this script on its parent folder
  • then it will be renamed "20180401-175417.jpg"

Notes:

  • For safety, please make a backup of your photos before running this script
  • Currently only designed to work with .jpg, .jpeg, and .png files
  • If you omit the input folder, then the current working directory will be used instead.

About

A python script to rename image files based on date photo taken from EXIF metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages