ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Artex on August 22, 2016, 08:52:01 PM

Title: json tag import on directory?
Post by: Artex on August 22, 2016, 08:52:01 PM
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
Title: Re: json tag import on directory?
Post by: StarGeek on August 22, 2016, 09:05:07 PM
Try changing the directory to the Images directory, run the command there, and use dot . as the directory name:
exiftool.exe -json=Formatted.json .
Title: Re: json tag import on directory?
Post by: Artex on August 22, 2016, 09:27:05 PM
Aha, that's simple! Works, thanks.