Put the following in a bat file and run it. It *should* work.<br><br>for /F %%f in ('dir *.tif') do gdaladdo --config USE_RRD YES "%%f" 3 9 27 81<br><br>To recursively search all sub-directories use:<br>
<br>for /F %%f in ('dir /s/b *.tif') do gdaladdo --config USE_RRD YES "%%f" 3 9 27 81<br><br><br><br><div class="gmail_quote">On Feb 20, 2008 12:50 PM, David Fawcett <<a href="mailto:david.fawcett@gmail.com">david.fawcett@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I want to run gdaladdo on approx. 500 images all sitting in the same directory. <br><br>I have tried the command <br>
<br>D:\TestGisData\>gdaladdo --config USE_RRD YES *.jpg 3 9 27 81<br><br>and I get the error: <br><br>
ERROR 6: The JPEG driver does not support update access to existing datasets.<br><br>ERROR 1: Attempt to extend field string in node past end of data,<br>not currently supported.<br>Overview building failed.<br><br>Since the command D:\TestGisData>gdaladdo --config USE_RRD YES 01.jpg 3 9 27 81<br>
<br>ERROR 6: The JPEG driver does not support update access to existing datasets.<br>
<br>
0...10...20...30...40...50...60...70...80...90...100 - done.<br>
0...10...20...30...40...50...60...70...80...90...100 - done.<br>
0...10...20...30...40...50...60...70...80...90...100 - done.<br><br>works, I assume that there isn't a 'wildcard mode' and that I will need to write a dos shell script to do a batch run. <br><br>Can anyone point me to an example of a script like this? I did a lot of searching, but couldn't find anything. <br>
<br>Thanks, <br><font color="#888888"><br>David.<br><br>
</font><br>_______________________________________________<br>FWTools mailing list<br><a href="mailto:FWTools@lists.maptools.org">FWTools@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/fwtools" target="_blank">http://lists.maptools.org/mailman/listinfo/fwtools</a><br>
<a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a><br><br></blockquote></div><br>