<div dir="ltr"><div>Miguel,<br><br>Do you use Linux or something similar? I can't test but maybe works on Windows as well with bash shell:<br><br><br><font size="2"><span style="font-family:monospace,monospace">r.mapcalc expression=resultmap=`g.list type=raster pattern=arc_0* separator='+'`</span></font><br><br><br></div>bye<br>R<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-08 19:13 GMT+02:00 Miguel Carrero <span dir="ltr"><<a href="mailto:miguel.carrero.pazos@gmail.com" target="_blank">miguel.carrero.pazos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I have 120 raster maps with the same name pattern: arc_01, arc_02, arc_03, arc_(...), and want to sum all of them in one. I can do it manually by introducing all the raster maps, but, does anyone know any way to do it automatically? Maybe with any expression based on the pattern?</div><div><br></div><div>Thanks for the attention.</div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br></blockquote></div><br></div>