Skip to content

A perl script to rename pictures with their EXIF CreateData entry.

License

Notifications You must be signed in to change notification settings

simonwalz/exifrename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

exifrename

A perl script to rename pictures with their EXIF CreateData entry.

The script depends on exiftool.

Usage

exifrename [-db dbfile] [-append append] [-format format] [-test] files

Example: exifrename *.JPG *.THM

  • -db dbfile File with list of already used filenames. New filenames will be added.
  • -append s String or char to be appended to the filename.
  • -format f Format of the new base filename (like unix function date), Default: %Y_%m_%d-%H_%M_%S.
  • -test test, no action.
  • - get files from STDIN.

Hints

Command to correct all EXIF timestamps: (in this example set the timestamps by 1h, 5min and 26sec into the past)

exiftool "-AllDates-=0:0:0 1:05:26" -overwrite_original .

exifrotate

This repository contains an addional script to rotate pictures using their EXIF orientation flag.

exifrotate [files.jpg]

Alternatives

Use exiftool with the following parameters (see exiftool documentation)

exiftool -d %Y_%m_%d-%H_%M_%S%%-c.%%e "-filename<CreateDate" .

About

A perl script to rename pictures with their EXIF CreateData entry.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published