ExifTool Forum

ExifTool => Newbies => Topic started by: Rüdi on February 24, 2025, 01:41:42 PM

Title: Issue with tagsfromfile command
Post by: Rüdi on February 24, 2025, 01:41:42 PM
hello,
i'm trying the command
exiftool.exe -tagsfromfile IMG_8183.JPG -all:all temp.xmp
for reading metadata from photo file and writing to an xml file, but get the error
Error: Nothing to write - temp.xmp
when i do
exiftool.exe IMG_8183.JPG
i see several metadata

what can i do to fix this?
Title: Re: Issue with tagsfromfile command
Post by: StarGeek on February 24, 2025, 04:26:04 PM
First, use the command in FAQ #3 (https://exiftool.org/faq.html#Q3) to see where your data is actually located.

XMP sidecar files (which are based upon XML files, but have some differences) can only hold XMP data. Since you are getting a "Nothing to write" error, that means that the JPEG doesn't have any XMP data.

What you'll have to do will be to use either the exif2xmp.args file (https://github.com/exiftool/exiftool/blob/master/arg_files/exif2xmp.args) or the iptc2xmp.args file (https://github.com/exiftool/exiftool/blob/master/arg_files/iptc2xmp.args) to copy the data from the current locations to the corresponding XMP locations.
Title: Re: Issue with tagsfromfile command
Post by: Rüdi on February 25, 2025, 11:56:14 PM
thank you for declaration