GRASS logo

NAME

g.mremove - Apply regular expressions and wildcards to g.remove

KEYWORDS

general, map management

SYNOPSIS

g.mremove
g.mremove help
g.mremove [-rf] [rast=string] [rast3d=string] [vect=string] [region=string] [icon=string] [label=string] [dview=string] [group=string]

Flags:

-r
use regular expression instead of wildcard
-f
force removal (required for actual deletion of files)

Parameters:

rast=string
raster to remove
rast3d=string
3d raster to remove
vect=string
vector to remove
region=string
region to remove
icon=string
icon to remove
label=string
label to remove
dview=string
3dview to remove
group=string
group to remove

DESCRIPTION

g.mremove applies regular expressions and wildcards to g.remove. If the -f force flag is not given then nothing is removed, instead a functional g.remove command string is printed to stdout as a preview of the action to be taken.

EXAMPLE

Delete all raster maps starting with "tmp_" in the current mapset:
  g.mremove -f "tmp_*"

SEE ALSO

g.remove

AUTHOR

Huidae Cho
grass4u@gmail.com

Last changed: $Date: 2007/03/08 13:51:30 $


Main index - general index - Full index