Author Topic: Copying all meta data from raw- to jpg-file via drag and drop  (Read 1311 times)

pemiwi

  • Newbie
  • *
  • Posts: 3
Hello I’m new here and I would be glad if somebody could help me!

In my photo processing workflow in a first step I create tif-files from raws (*.nef) that are used in a next software as input. For some shots I use Lightroom as an alternative to my standard-sw in the first step.
Due to Lightroom writing meta data in a somehow different way to the tifs my second step sw has a problem and doesn’t work correctly.
Using the exiftoolgui I experienced that everything works fine if I copy all meta data from nef-file to Lightroom-tif-file. The bitter pill is  that now my workflow is very uncomfortable.
I know that exiftool offers also the possibility to place it on the desktop fitted with some parameters in its name like exiftool(-k -a -u -g1 -w txt).exe so you can drop files to process out of any directory and the corresponding output file gets stored in the source directory.
Now it would be perfect to my workflow if it was possible to fit exiftool with a parameter string so it works as follows:
I drop a nef-file on exiftool desktop icon as sourcefile out of any directory and exiftool copies all meta data from this xyz.nef-file to the corresponding xyz_LR.tif-file in the same directory.
Since I add a “_LR” to mark the Lightroom-processed tifs it would be best if exiftool therefore could copy directly from xyz.nef to xyz_LR.tif instead of to xyz.tif since the xyz.tif also exits as output of non-Lightroom processing. If this feature might not be possible, of course I would also manage to handle with that "restriction"  :)

Thanks to all who are willing to help me!

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14733
    • ExifTool Home Page
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #1 on: May 25, 2017, 07:17:52 AM »
Try renaming exiftool(-k).exe to this:

exiftool(-tagsfromfile %d%-.3f.nef -ext tif).exe

This will copy tags from NEF files (with the last 3 characters removed from the file name) to tiff files in the same directory.

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

pemiwi

  • Newbie
  • *
  • Posts: 3
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #2 on: May 25, 2017, 09:03:51 AM »
Hello Phil,
thanks for your fast reply!
When I try to drop my file "And_0607.NEF" to exiftool(-tagsfromfile %d%-.3f.NEF -ext tif -k).exe I get the reply "No file with specified extension". The file "And_0449_LR.tif" is in the same directory. If it is not possible to copy from ....NEF to ..._LR.tif then I would rename my NEF-File first to ..._LR.NEF, then copy tags from ..._LR.NEF to ..._LR.tif and afterwards rerename back to ....NEF.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14733
    • ExifTool Home Page
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #3 on: May 25, 2017, 12:28:51 PM »
The files to drop are the ones you want to change.  You're supposed to drop a tif file, or an entire folder.

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

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 2514
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #4 on: May 25, 2017, 01:23:35 PM »
When I try to drop my file "And_0607.NEF"

The file "And_0449_LR.tif" is in the same directory.

Are these the names of the files you want to copy between?  If you drop file "And_0449_LR.tif" onto Phil's command, it's going to look for "And_0449.Nef". 
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

pemiwi

  • Newbie
  • *
  • Posts: 3
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #5 on: May 25, 2017, 02:20:48 PM »
Hello Phil,
It works perfectly and it helps me a lot!!!!
Thanks for that great tool and your superb support (I've just been on the donation page...).

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14733
    • ExifTool Home Page
Re: Copying all meta data from raw- to jpg-file via drag and drop
« Reply #6 on: May 25, 2017, 03:32:46 PM »
Great.  Thanks!

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