Tag to add serial number when 2+ files will have same name

You found an error in the program ? Report it here
Post Reply
jbs
Posts: 9
Joined: 2015-10-31 10:59:20

Tag to add serial number when 2+ files will have same name

Post by jbs »

I know it's been discussed before, but I can't determine whether it's been implemented. I LOVE Ant Renamer and use it (among many other things) to rename my photos via EXIF tags. I use a series of actions to create a file name like this:

2015_1229_153012.jpg

for a photo taken at 3:30 and 12 seconds on the 29th of December of this year.

The problem comes when I shoot in burst mode and more than one photo has the same timestamp. Today I discovered the subsectimeoriginal EXIF tag which is a BIG improvement and I'm now using this format:

%datetime%_%subsectimeoriginal%%ext%

Followed at the end by a deletion of the last 3 characters. This way if there's only one photo that second it gets a unique name with no trailing digits, but if there are 2 or more then the FIRST one gets the standard name and the subsequent ones will follow in order.

My real preference though would be an optional tag wherein if Ant Renamer sees more than one file will have the same name the tag would add a serial number to ALL the files which otherwise share a name.

Thanks for an excellent program!!
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Not yet there, but it is on my to-do list, so it should be in one of the next releases ;) (can't say when that will be, though)
jbs
Posts: 9
Joined: 2015-10-31 10:59:20

Post by jbs »

I wanted to share that while I'm still looking forward to this feature, I did find a useful workaround for burst photos. The EXIF tag subsec allows me to differentiate down to the hundredths or thousandths of a second.

I changed the EXIF template to "%datetime%_%subsectimeoriginal% and then added an action to delete the last 3 characters. That way for any files that are unique to their second the extra subsec info gets deleted, but Ant Renamer will of course not execute that last action if it would create duplicate files.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks for the tip!
Post Reply