Re: batch automation
On Sun, Aug 2, 2009 at 11:20 PM, Ron Johnson<ron.l.johnson@cox.net> wrote:
> Sure. For example, let's say that you've got a list of raw files that you
> want to convert to jpeg and then make thumbnails from.
>
> #!/bin/bash
> cd /photo/raw
> for i in *.raw;
> do
> bn=$(basename "${i}" .raw)
> convert_to_jpg "${i}" /photo/jpg/"${bn}".jpg
> make_thumb /photo/jpg/"${bn}".jpg /photo/thumbs/th_"${bn}".jpg
> done
very cool, will have to wait till next weeks photo adjustments to
test. ive already converted this weeks by hand.
thanks again
Reply to: