News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Batch Rename Files

Started by DELETEACCOUNT, December 11, 2012, 05:56:51 AM

Previous topic - Next topic

DELETEACCOUNT

Hi!

I have some files in one folder:

abcdefg.JPG
ddjasd.JPG
dckdas.MOV
Adfevd.PNG

and i want them to be renamed to:

event 1.JPG
event 2.JPG
event 3.MOV
event 4.PNG

until now i used the software tool "NameChanger" (MAC)... but im wondering if i could also do this with exiftools?
What would be the exact line to enter?

Phil Harvey

You can use this command to do what you want:

exiftool -filename="event %nC.%e" *.*

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

DELETEACCOUNT