Quoting Roshan <[EMAIL PROTECTED]>:

#!/bin/sh

        for f in $*;
        do
                convert -resize 640x480 $f t-$f
        done

I have one question.
Is the $* is for argument number (or its type) for the
file that would have to be converted?

$* matches all the parameters you may have passed to the script (like when executing "$ sh foo-script.sh *")


There's one thing that I noted while this script was
executing. The processor usage was around 93-100 % and
the memory usage was jumping up and down. Look at the
following picture, to know more.

Transforming image types is a huge mathematical computation. Needs good amount of CPU and memory resources.

--
Anurag <B20A82C1>

--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to