[Eug-lug] batch convert

Ken Barber mountainman at peak.org
Sun Aug 22 09:23:02 PDT 2004


On Saturday 21 August 2004 11:59 am, Allen Brown wrote:
> mogrify is a cool command.  I've been using it for many years to
> make thumbnails automagically.  But there is one thing that
> annoys me.  There is no way to tell it to make the output filename
> different from the input file.  So to make a thumbnail I have to
>   cp ${fullsize}.jpg ${thumbnail}.jpg
>   mogrify -options ${thumbnail}.jpg
>
> Do you know of a more efficient way to do this?

That isn't what mogrify is designed to do.  The command you want is 'convert'.

Ken
-- 
"Last week, I left my 2 [Microsoft Windows] XP CDs on my dashboard in plain 
view. Someone broke into my car and left 2 more."
 -- Anonymous post on Slashdot (www.slashdot.org)



More information about the EUGLUG mailing list