<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>If the maps that you want to remove have some (pattern) in the map name, <br>you could remove it running this loop in the GRASS-Terminal.<br><br>Identified the path of the "hist" folder in your MAPSET  <br><br>path example :  /home/user/Grassdata/location/Mapset/hist<br><br>Now you could run:<br><br>cd /home/user/Grassdata/location/Mapset/hist<br><br>for i in *pattern*;<br>do<br>g.remove rast=$i<br>done<br><br><br><br>John Ortiz<br>Geologist<br>Smithsonian Tropical Research Institute<br>Ancon - Panama<br><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 7 Jun 2012 10:41:11 -0700<br>> From: rshepard@appl-ecosys.com<br>> To: grass-user@lists.osgeo.org<br>> Subject: [GRASS-user] Removing Multiple Maps<br>> <br>>    I'm re-doing my drainage basin analyses. There are several dozen raster<br>> files in the mapset that I want to remove. Copying several to the g.remove<br>> command (separated by commas) is slow. Is it possible to use a wildcard with<br>> the g.remove command?<br>> <br>>    My tests suggest not, but perhaps there is a way to do this that is not<br>> immediately obvious to me.<br>> <br>> Rich<br>> <br>> _______________________________________________<br>> grass-user mailing list<br>> grass-user@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/grass-user<br></div>                                           </div></body>
</html>