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

vim5818/rename-images

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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 it's parent folder
  • then it will be renamed "20180401-175417.jpg"

Notes:

  • For safety, please make a backup before running this script
  • Currently only designed to work with .jpg, .jpeg, and .png files
  • EXIF metadate must exist or an error will occur

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

Languages

  • Python 100.0%