[GRASS5] WARNING: be careful with g.remove!!!
Glynn Clements
glynn.clements at virgin.net
Mon Apr 22 15:13:10 EDT 2002
Markus Neteler wrote:
> I just discovered that
>
> g.remove rast=
> REMOVE []
> raster
> header
> category
> color
> history
> misc
> fcell
> g3dcell
>
> will remove ALL raster maps in your mapset.
>
> WARNING!!!
>
> Don't try this at home. We have to fix that immediately
I suggest changing G_remove() so that it only removes individual
files (with unlink()), and not entire directories.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list