> Hi guys,
> This is my first post on Mumbai-GLUG.
> I have a problem with conversion of a batch set of files.
> I need to convert a set of 10000 images of a certain format to another.
> Can someone help me out with the shell script?
>
> Thanks
> Kiran
Suppose u have Dir as "/home/user/images/"
copy all images to above folder
and u want to convert it using prg "convert"
so open any editor vi/pico and write
#----------------------- CUT save it as <filename.sh>----
#!/bin/bash
cd "/home/user/images/"
for i in * ;do
echo "Converting image $i ";
convert $i
done
#-----------------------CUT ------
Then Run it as
$ . <filename.sh>
--
Regards
Sachin Rase
Unitek Information System.
[EMAIL PROTECTED]
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers