On 2009-08-03 01:08, jeremy jozwik wrote:
On Sun, Aug 2, 2009 at 11:00 PM, Ron Johnson<ron.l.johnson@cox.net> wrote:My bad for adding the continuation characters. This definitely works:alright, it no longer errors out. will this be able to bridge across the /photo/raw, /photo/fresh folders?
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 doneNote that convert_to_jpg and make_thumb are imaginary apps used just for example purposes.
-- Scooty Puff, Sr The Doom-Bringer