[GRASSLIST:2475] Re: wildcards
SWlab
swlab at cornell.edu
Thu Feb 5 11:40:35 EST 2004
[Thursday 05 February 2004 10:53] From Kirk R. Wythers
> I have a large number of raster files to remove from a mapset. Are
> wildcards available to expedite this process?
It's far far better to use the "g.remove" function, than deleting the files by
hand (too many directories to search).
Why wouldn't you just write a small script to create the list of all your
rasters, and then call "g.remove" ?
Like
for map in ${maplist}; do g.remove ra=${map}; done
Your maplist can be created with as many wildcards as you want.
--
Soil & Water Laboratory
Dept. of Biological & Environmental Engineering
Cornell University
ITHACA, NY 14853
Tel: (607)255.2463
More information about the grass-user
mailing list