json tag import on directory?

Started by Artex, August 22, 2016, 08:52:01 PM

Previous topic - Next topic

Artex

I'm running exiftool from the parent directory of the folder I'm applying the json to, but I'm running into an issue with SourceFile not matching. I have SourceFile set to the file name of the image, but exiftool looks for Images/FileName.jpg. Is there a way to just use the filenames without the directory?

Here's the command i'm using: exiftool.exe -json=Formatted.json Images

StarGeek

Try changing the directory to the Images directory, run the command there, and use dot . as the directory name:
exiftool.exe -json=Formatted.json .
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Artex

Aha, that's simple! Works, thanks.