I'll have to defer that to the list, I'm not too good at bash scripting:<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style>Well, yes I was thinking to that but I don't know exactly how to do it. I mean, till now with:</span><br style><span style>g.mlist -r type=rast pattern='fill_mnat'</span><br style><span style>I have managed to see all rasters that I want to export (fill_mnat - is contained in the middle of the name of all files for export).</span><br style>
<span style>Next I think I have to run something like: </span><br style><span style>for map in g.mlist -r type=rast pattern='fill_mnat' do r.out.arc input=$map output='basemap $map .asc' done but nothing happens. Is this the correct command line?</span></blockquote>