![]() We'll use hyphenated four-digit year then two-digit month and day ( %Y-%m-%d) followed by a three-digit number starting with 001 ( %%-.3nc), preserving the original file extension (. -d %Y-%m-%d%%-.3nc.%%e Here -d sets the desired output date format.'-FileName-ignoreMinorErrors Ignore any errors which don't affect our desired result (usually problems reading unrelated tags which aren't necessary for this operation).(Note these aren't case-specific and jpg=JPG so we catch everything) -extension jpg -extension jpeg will make sure only JPEG files are processed.-recurse recursively processes subdirectories, which is helpful if you use Shotwell to import because photos are placed in directories organized by date.This is critical to preserve the image numbering within a day in the original chronological order. -fileOrder DateTimeOriginal forces exiftool to process the images in the same order they were taken.To explain the command fully, here's how it works. To rename your entire image library of JPEG photos to the YYYY-MM-DD-XXX.jpg format, counting up and starting from -001 each new day, use this command with exiftool: exiftool -fileOrder DateTimeOriginal -recurse -extension jpg -extension jpeg -ignoreMinorErrors '-FileName ![]() ![]() Each folder in my library represents a day, and I want the photos ending in numbers from 001-999, starting with 001 for each folder. I want it to rename photos by their date taken metadata, with a three-digit number at the end. I'm using pyrenamer with my photo collection and it works great except for one issue. ![]()
0 Comments
Leave a Reply. |