exiftool -S -s -Credit a.jpg | tr '/' ':' | exiftool -d "%Y:%m:%d" -AllDates'<=-' a.jpgIdeally, I'd like to shift the time by +1 hour, too, but I could not figure out how. This does work for a couple of images (say 30% out 10,000) but for the majority I get an error message about minor (?) MakerNotes errors and the image does not change. Sometimes it does not work at the first time, but if I keep trying it is done afterall. I tried to delete the MakerNotes before I apply the above, then it runs through cleanly. But this I really do not want as I'd like to preserve the Makernotes.
Can I jist use the -m option and trust that all will be well (for 10,000) images? Any help appreciated-Thanxx, Mixx
I have now written a shell script and after much trouble (running a GNU shell script on Windows) got it working. I realized while doing this that I have two wishes if I may for exiftool.
I think a syntax exiftool -tag1=$tag2 a.jpg would be much more intuitive that exiftool -tag1<$tag2 (which is by the way difficult to find in the option description).
I think it would be terrific if exiftool had built string manipulation functions such as substitute and substring. With those, one could work without shell or perl scripts and with just one command.Thanxx, Mixx
I am not an expert but suggestion 1 is just another problem of how to pass arguments to an application and could be solved by quoting rules maybe -tag1="$tag2" would do the value and -tag1="'$tag2'" the string. I do not know if this works, but would not be anything unusual.About string manipulation: exiftool gets a string as an argument anyway as in
Just a thought, Mixx