Re: [GRASS-user] Removing Multiple Maps

2012-06-07 Thread Rich Shepard
On Thu, 7 Jun 2012, John Ortiz wrote: If the maps that you want to remove have some (pattern) in the map name, you could remove it running this loop in the GRASS-Terminal. John, That's essentially what g.mremove does. For example, g.mremove rast="bas*" removes all raster maps beginning with

Re: [GRASS-user] Removing Multiple Maps

2012-06-07 Thread John Ortiz
/home/user/Grassdata/location/Mapset/hist for i in *pattern*; do g.remove rast=$i done John Ortiz Geologist Smithsonian Tropical Research Institute Ancon - Panama > Date: Thu, 7 Jun 2012 10:41:11 -0700 > From: rshep...@appl-ecosys.com > To: grass-user@lists.osgeo.org > Subject: [GRASS-u

Re: [GRASS-user] Removing Multiple Maps [SOLVED]

2012-06-07 Thread Rich Shepard
On Thu, 7 Jun 2012, Rich Shepard wrote: Is it possible to use a wildcard with the g.remove command? I just discovered g.mremove. Rich ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Removing Multiple Maps

2012-06-07 Thread Rich Shepard
I'm re-doing my drainage basin analyses. There are several dozen raster files in the mapset that I want to remove. Copying several to the g.remove command (separated by commas) is slow. Is it possible to use a wildcard with the g.remove command? My tests suggest not, but perhaps there is a wa