<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 18, 2015 at 1:03 PM, Jeshua Lacock <span dir="ltr"><<a href="mailto:jeshua@3dtopo.com" target="_blank">jeshua@3dtopo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow:hidden">Actually, I misspoke, the wildcard will not work with long lists either as it will crash with some kind argument too long message as well.</div></blockquote></div><br></div><div class="gmail_extra">This is strange, the wild card is interpreted inside the module, so the argument list shouldn't be too long. If you don't quite the pattern the shell can do the expansion but this is not what you want.<br><br></div><div class="gmail_extra">Correct:<br></div><div class="gmail_extra"><br>g.remove ... pattern="landsat_*"<br><br></div><div class="gmail_extra">Incorrect:<br><br>g.remove ... pattern=landsat_*<br><br></div><div class="gmail_extra">The later will transform the command line to:<br><br>g.remove ... pattern=landsat_01 landsat_02 landsat_03 landsat_04 ...<br><br></div><div class="gmail_extra">in case you are in directory with files or directories named landsat_01, landsat_02, landsat_03, ...<br><br></div><div class="gmail_extra">What is the message you get? And what is the command return code (do echo $? to find out)?<br></div></div>