[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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


Reply to: