ExifTool Forum

ExifTool => Newbies => Topic started by: johnjbloomfield on February 16, 2017, 12:22:41 PM

Title: Batch Copy Exif Data From One Field To another
Post by: johnjbloomfield on February 16, 2017, 12:22:41 PM
Is it possible to use this tool to copy data from one field to a new field?

Specifically from Lens Id to lens model as my software (ACDsee) only reads Lens Model but my camera (Pentax) only records lens under Lens ID.
Title: Re: Batch Copy Exif Data From One Field To another
Post by: Phil Harvey on February 16, 2017, 12:29:31 PM
Sure.  The application documentation has many copying tags examples (https://exiftool.org/exiftool_pod.html#COPYING-EXAMPLES).  In your case the command could look like this:

exiftool "-lensmodel<lensid" DIR

- Phil
Title: Re: Batch Copy Exif Data From One Field To another
Post by: johnjbloomfield on February 16, 2017, 02:37:33 PM
Would I need it to run as a command line tool for this?
Title: Re: Batch Copy Exif Data From One Field To another
Post by: Phil Harvey on February 16, 2017, 04:29:30 PM
I think you may be able to do this through the GUI, but I don't know how.  The command I gave is for the command line.

- Phil
Title: Re: Batch Copy Exif Data From One Field To another
Post by: johnjbloomfield on October 08, 2017, 07:49:36 AM
Hi Phil

This has been working great for me but I have just noticed that a duplicate file without file type but with _original is created.

I have only just realised this as my photo management software ignores these files. - Is there anyway to avoid them being created as they take up quite a lot of space obviously I am manually deleting them now.
Title: Re: Batch Copy Exif Data From One Field To another
Post by: Phil Harvey on October 08, 2017, 08:02:43 AM
By default exiftool backs up the original file by adding "_original" to the file name.

To avoid this, add -overwrite_original to the command.

To delete "_original" files that have already been created, do this:

exiftool -r -delete_original DIR

The -r recursively processes all subdirectories.

- Phil
Title: Re: Batch Copy Exif Data From One Field To another
Post by: johnjbloomfield on October 08, 2017, 08:09:21 AM
Thanks Phil

Much Appreciated.

Do you have a donate page or something for this program - I feel I should make some sort of payment for something this useful and so well supported via this forum.
Title: Re: Batch Copy Exif Data From One Field To another
Post by: johnjbloomfield on October 08, 2017, 08:15:35 AM
found the donate page - donation made not a lot just a thank you really.
Title: Re: Batch Copy Exif Data From One Field To another
Post by: Phil Harvey on October 08, 2017, 03:30:23 PM
I got the donation, thanks!

Glad to help.

- Phil