Hi, All--
I am trying to update the source field for all items in a directory so that the source will say [DirectoryName]/[FileName]. To do this, I am using the command:
exiftool '-Source<$directory/$filename' *.tif
However, because I am in the directory of the images, it is outputting ./[filename]
as the Source. Any tips on how to remedy this? I am on a Mac using the tool through terminal.
Use this command:
exiftool -ext tif '-source<$directory/$filename' DIR
where DIR is the name of the directory you want in the Source tag.
- Phil
Also,
exiftool -ext tif '-Source<FilePath'