[FWTools] batch gdal_translate ??

Garret Wais garretlewis at gmail.com
Wed Jul 30 12:10:28 EDT 2008


Hello,
I would like to create a bat file for gdal_translate.  I have about one
thousand sid files that I would like to convert to jpg, I know I can use,
"gdal_translate -of JPEG FILENAME.sid OUTPUT.jpg" to do this but doing that
1000 X's would not be efficient (or fun).
I know there is a way to write something like:

for file in *
do input=`echo $file
etc etc.

I just cant remember exactly how it should be written.  If anyone can help
that would be great.

thank you,
Garret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20080730/8d26ee09/attachment.html


More information about the FWTools mailing list