ExifTool Forum

ExifTool => Newbies => Topic started by: Nick Payne on November 28, 2013, 12:33:41 AM

Title: Exiftool creating copies of source files
Post by: Nick Payne on November 28, 2013, 12:33:41 AM
When I run the following command to copy exif data from original raw image files to tif copies, exiftool not only creates TIF_original copies of the tif files before updating the exif data in them, but it also renames the source RAF (Fuji raw) files to RAF_original and then creates new RAF copies. Why does this happen? I would have thought that the RAF files are only being read, not written.

exiftool -tagsfromfile *.RAF -all:all *.TIF

Exiftool is version 9.41, running on Ubuntu 13.10.
Title: Re: Exiftool creating copies of source files
Post by: Phil Harvey on November 28, 2013, 07:29:12 AM
You can't use wildcards in the -tagsFromFile argument.  These wildcards are expanded by the shell into separate arguments, but the -tagsFromFile option only takes one argument.  The rest are interpreted as names of files to process.

As well, I do not recommend using wildcards in the file name arguments (https://exiftool.org/mistakes.html#wild).  So try this:

exiftool -tagsfromfile %d%f.RAF -all:all -ext tif .

- Phil