ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: splaisan on October 14, 2012, 05:23:43 AM

Title: transfer dates from originals to ImageMagic copies
Post by: splaisan on October 14, 2012, 05:23:43 AM
Dear,

Having decided to shrink my >30GB iPhoto library, I created smaller copies of all JPG with ImageMagic.
I now want to also transfer the creation date from the big originals to the small imageMagic copies during the resizing process and FAILED even with help of many pages read.

below is my code,
Thanks for help

...
# some handling for path and file names
...
convert ${orifile} -resize 800x600 ${smallfile} &&
exiftool -overwrite_original_in_place -tagsFromFile "${orifile}" -alldates "${smallfile}"

...

tried many other tags but wll I get is

in.jpg -> out.jpg
Warning: No writable tags set from in.jpg
    0 image files updated
    1 image files unchanged

Title: Re: transfer dates from originals to ImageMagic copies
Post by: Phil Harvey on October 14, 2012, 05:34:54 PM
What you have done should work provided that the original file contains some of the specified tags.  Try this to see:

exiftool -alldates "${orifile}"

Either that, or add a -v2 option to the command you were using to get more details about what is happening.

- Phil