Thanks all for the quick and detailed responses! <br><br><div class="gmail_quote">On Wed, Feb 20, 2008 at 12:13 PM, Ed McNierney <<a href="mailto:ed@topozone.com">ed@topozone.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;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">David –</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">for %f in (*.jpg) do gdaladdo –config USG_RRD YES %f 3 9 27 81</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p style="margin-left: 29.25pt; text-indent: -0.25in;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>-<span>
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ed</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:fwtools-bounces@lists.maptools.org" target="_blank">fwtools-bounces@lists.maptools.org</a> [mailto:<a href="mailto:fwtools-bounces@lists.maptools.org" target="_blank">fwtools-bounces@lists.maptools.org</a>] <b>On
Behalf Of </b>David Fawcett<br>
<b>Sent:</b> Wednesday, February 20, 2008 12:50 PM<br>
<b>To:</b> <a href="mailto:fwtools@lists.maptools.org" target="_blank">fwtools@lists.maptools.org</a><br>
<b>Subject:</b> [FWTools] Shell Script for gdaladdo on a whole directory?</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<p style="margin-bottom: 12pt;">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>
<br>
David.</p>
</div></div></div>
</div>
</blockquote></div><br>