Thread

Posted on Wed May 14 06:14:44 2008 by pauljsolomon
Saving original filename within metadata using exiftool?
I'm looking for a way to save the original filename (prior to rename) within the metadata of a image file. Does anyone have any recommendations on how to do this with exiftool?
Direct Responses: 7874 | Write a response
Posted on Wed May 14 14:09:02 2008 by exiftool in response to 7869
Re: Saving original filename within metadata using exiftool?
exiftool "-comment<filename" FILE

Here I have copied the filename to the Comment tag, but you can put it wherever you want. FILE is one or more file or directory names.

- Phil
Write a response