Hello,
I'm attempting to fetch a JPEG image from an s3 bucket and then use a JSON file contents to write to that image.
I can get as far as curl -s https://[bucket-url]/test.jpeg | exiftool -artist=me - > test.jpeg
. But when I try to write from the JSON file (test.json):
curl -s https://[bucket-url]/test.jpeg | exiftool -json=test.json - > test.jpeg
I get the error:
No SourceFile '-' in imported JSON database
(full path: '/path/to/current/dir/-')
I've reviewed the documentation, but I must still be missing something. Can anyone tell me what it is? Thanks for any help!
Is there a "SourceFile" entry in the json? If so, remove it or set it to an asterisk.
That's what I was missing. Thank you!