GRASS logo

NAME

g.mremove - Removes data files using basic regular expressions and wildcards.

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] [--verbose] [--quiet]

Flags:

-r
Use basic regular expressions instead of wildcards
-f
Force removal (required for actual deletion of files)
--verbose
Verbose module output
--quiet
Quiet module output

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 is an extended version of g.remove which provides support for POSIX Basic Regular Expressions and wildcards. 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

Regular expression (from Wikipedia, the free encyclopedia)

AUTHOR

Huidae Cho
grass4u@gmail.com

Last changed: $Date: 2008-06-28 03:23:07 -0500 (Sat, 28 Jun 2008) $


Main index - general index - Full index

© 2003-2008 GRASS Development Team