Hi there,<div><br></div><div>The best way to do it would be with a script (the simplest being a bash script, but you can script your commands in any language you like). Either just by writing all of the commands into a file and then running the file (e.g.:</div>

<div><br></div><div>r.out.arc map=something</div><div>r.out.arc map=something_else</div><div>...</div><div>r.out.arc map=last_map</div><div><br></div><div>)</div><div><br></div><div>Or by processing the output of 'g.list rast' and then doing what you want with that. Hope that helps! :)</div>

<div><br></div><div>Best,</div><div>Daniel</div><div>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"></span></p><p>--<br></p><p>B.Sc. Daniel Lee<br>

Geschäftsführung für Forschung und Entwicklung<br>ISIS - International Solar Information Solutions GbR<br>Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br></p><p>Softwarecenter 3<br>35037 Marburg<br>Festnetz: <a value="+4964213796256" style="color:rgb(28,81,168)">+49 6421 379 6256</a><br>

Mobil: <a value="+4917661277269" style="color:rgb(28,81,168)">+49 176 6127 7269</a><br>E-Mail: <a href="mailto:Lee@isi-solutions.org" style="color:rgb(28,81,168)" target="_blank">Lee@isi-solutions.org</a><br>Web: <a href="http://www.isi-solutions.org/" style="color:rgb(28,81,168)" target="_blank">http://www.isi-solutions.org</a></p>

<p></p><br>
<br><br><div class="gmail_quote">2012/5/31 Rosca Bogdan <span dir="ltr"><<a href="mailto:roscao@gmail.com" target="_blank">roscao@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello!<br>How can I export multiple raster files created with r.basin with r.out.arc ( I need them to have *.asc extension). Is there a command line to do this in batch mode because I have around 170 files and it is a bit tedious. Please help.<br>


Thank you,<br>Bogdan Rosca<br>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br></blockquote></div><br></div>