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

Re: how to convert 100 bmp files to jpeg?



On Sat, 14 Jan 2006, Serena Cantor wrote:

> I 100 bmp files. I installed gimp and imagemagik, but
> can't find the way to convert 100 bmp files to jpeg in
> batch fashion. Do you know the command? Thanks!

This shell script should do it:

  for f in *.bmp; do nf=`basename "$f" .bmp`; convert -verbose "$f" "$nf".jpg; done

-- Brad



Reply to: