rename filename using timecode

Started by alexei, November 20, 2015, 03:55:44 AM

Previous topic - Next topic

alexei

I have a file image.dng and timecode from this file  22:12:10.15. I need rename file like 22121015.dng. Pleas help me create command line.

Thanks

Phil Harvey

I don't know the name of the tag, but assuming it is "TimeCode", you could do this:

exiftool "-filename<${timecode;tr/:.//d}.%e" image.dng

- 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 ($).

alexei