Adding metadata from file

Started by Vice, April 11, 2012, 04:44:15 PM

Previous topic - Next topic

Vice

Hi,
First of all I apologize for such newbie question but I spend 5 hours on the site, FAQ and this forum and do not find the answer..

The only thing I need - is add metadata to JPG picture from my args file I created
exiftool -args 1.jpg > out.args - to create args file.

Then I want to add it to file without EXIF
exiftool -args -@ 2.jpg out.args - to add all exported metadata to 2.jpg

but program just gave me some warnings about parametrs that "is not writeble" and then the error
"Error: './2.jpg' already exists - 2.jpg"

I add to args file commands -m (to ignor warnings) and -overwrite_original, but nothing is changed

Help me please - I understand that's a simple thing but do not have any other ideas to do that

Phil Harvey

To create the args file from the metadata in a jpg image ("1.jpg"):

exiftool -args --filename --directory 1.jpgj > out.args

(you don't want to include the filename and directory in the output, or you will set these values when writing).

Then to write the information to a different file ("2.jpg"):

exiftool -@ out.args 2.jpg

Just like the examples in the application documentation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).