<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Aaron,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>So, If I understand you correctly, you have 800 raster files that you need to re-scale but are failing due to the length of the list or command line length?</DIV><DIV>If your files are named in a logically/sequential fashion (foobar_1 , foobar_2 , foobar_3 etc) then you could run your commands on each file using a counter inside a loop. pseudo code would look something like;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Courier New">let counter=1</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">while [ ${counter} -le 800 ]; do</FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" face="Courier New">r</FONT><FONT class="Apple-style-span" face="Courier New">.region map=foobar_${counter} n= s= e= w=</FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" face="Courier New">counter=${counter}+1</FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier New">done</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>However, if the file names are unorganized then you may need to rework the file names outside of GRASS using a batch re-namer in order to get this to work.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Mike</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 5-Jul-07, at 8:51 AM, <A href="mailto:goldneaa@onid.orst.edu">goldneaa@onid.orst.edu</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am dealing with a lot of raster files at once.<SPAN class="Apple-converted-space">  </SPAN>When I have used certain commands like g.mlist for listing of my raster files, it has given me warmings like, "file name too long."<SPAN class="Apple-converted-space">  </SPAN>Similar problems have arose when I use r.region to change location of my raster files.<SPAN class="Apple-converted-space">  </SPAN>Is there a capacity to the program when adjusting a lot of raster files at once, and is there a way around not getting these warnings.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Aaron</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">grassuser mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>