A perl script to rename pictures with their EXIF CreateData entry.
The script depends on exiftool.
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.
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 .
This repository contains an addional script to rotate pictures using their EXIF orientation flag.
exifrotate [files.jpg]
Use exiftool with the following parameters (see exiftool documentation)
exiftool -d %Y_%m_%d-%H_%M_%S%%-c.%%e "-filename<CreateDate" .