Re: batch automation



On 2009-07-27 22:41, jeremy jozwik wrote:
sorry if this is not within the scope of the debian user list. but im
stuck in a rut. im running exiftool to copy exif data from my jpg
files to my converted raw files.

individually i am running
./exiftool -TagsFromFile jpg.jpg raw.jpg

Why are you in /usr/bin?

Also, raw.jpg?

but i have a folder loaded with .jpg files and this could take a day
or two. im sure there is some way of scripting this.
i need to scan one folder for .jpg files and import there exif data
from the same named file in another folder. im not much of a scripter
or a coder so im hoping someone on this list could help me automate
this process.

for i in *.jpg; \
do \
bn=$(basename "${i}" .jpg) \
echo "${bn}" \
done

Replace the echo statement with appropriate exiftool command.

thank you very much anyone who can help, and sorry for improper
posting if i am doing so

As long as you're not using The Distro Which Shall Not Be Named...

:)

--
Scooty Puff, Sr
The Doom-Bringer


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Need Rosetta Stone for XP fields in JPG Files
    ... I think these fields are simply the EXIF data fields of JPG images. ... Reading EXIF and Other Image Properties Using GDI+ ... > I want to write a VB6 app which reads the 5 metadata fields put into jpg ...
    (microsoft.public.windowsxp.photos)
  • Re: rename v. script
    ... You're assuming that no file contains JPG ... Discover Yahoo! ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: new d700
    ... Larry Thong wrote: ... I do some post work in NX2 and all EXIF data is saved, even in the final JPG. ... All good software nowadays ought to copy the Exif data over, by default or at least when told. ...
    (rec.photo.digital.slr-systems)
  • Re: new d700
    ... Larry Thong wrote: ... I do some post work in NX2 and all EXIF data is saved, even in the final JPG. ... All good software nowadays ought to copy the Exif data over, by default or at least when told. ...
    (rec.photo.digital.slr-systems)
  • Re: need help making shell script use two CPUs/cores
    ... So I would probably write a helper script that did the ... base=$(basename $k .JPG) ... echo $k; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)