<div dir="ltr"><div><div><div>Thank you Tom for the mail.<br></div>I'm still unable to get it working. Some smaller cliche I guess,<br></div>will try again.<br></div>Regards<br></div><div class="gmail_extra"><br clear="all">

<div>Rajat Nayak</div>
<br><br><div class="gmail_quote">On Tue, Sep 2, 2014 at 6:50 PM, Thomas Adams <span dir="ltr"><<a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div><div>Rajat,<br><br></div>I assume you are running this at the GRASS prompt? If not, you must do this. Also, if you don't provide the full path for 'NPPFILES', you should run the command from the directory where 'NPPFILES' is located. Additionally, you may want to change your code to this:<br>


<br>for files in $(cat NPPFILES); do <br>echo $files;<div class=""><br>r.out.gdal input="$NPPFILES" output="$NPPFILES.tiff" format=GTiff ; done<br><br></div></div><div>You may want to include the line "echo $files;" to see if the individual map names are being read correctly<br>


</div><div><br></div>Regards,<br></div>Tom<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 2, 2014 at 8:57 AM, Rajat Nayak <span dir="ltr"><<a href="mailto:rajat27404@gmail.com" target="_blank">rajat27404@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div><div>Dear All,<br><br>

</div>I just created a list of files (NPPFILES) using g,mlist command in grass7. <br>
</div>Now I would like to export these files as .tiff files.<br></div>

I tried this command <br>for files in $NPPFILES; do <br>r.out.gdal input="$NPPFILES" output="$NPPFILES.tiff" format=GTiff ; done<br><br></div>This is not working for me. I tried  giving directory path, still no result.<br>




<br></div>I will be grateful if anybody can help me with this.<br><br></div>Thanking you,<br><br></div>Regards<span><font color="#888888"><br><div><div><div><div><div><br clear="all"><div><div><div><div><div>Rajat Nayak</div>



</div></div></div></div></div></div></div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">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></blockquote></div><br><br clear="all"><br></div></div>
</blockquote></div><br></div>