## NAME

g.remove

## DESCRIPTION

g.remove allows the user to remove specified data base element files from the current mapset.

## EXAMPLE

For example, the below command will cause the raster maps named soils, slope, and temp, the vector maps named roads and rail, and the imagery group files named nhap.1 and nhap.2, and these files' associated support files (e.g., cell header files, category files, etc.), to be removed from the user's current mapset.

    g.remove rast=soils,slope,temp vect=roads,rail group=nhap.1,nhap.2

## NOTE

If a particular data base element file has support files associated with it (e.g., as is commonly the case with raster maps), g.remove will remove these support files along with the data base element file specified.

The user can only use g.remove to remove data files existing under the user's current mapset.

To remove multiple files, the script g.mremove may be used.

## FILES

`$GISBASE/etc/element_list` lists the element types whose files can be removed by the user.

## SEE ALSO

g.copy
g.list
g.rename
g.mremove

## AUTHOR

Michael Shapiro, U.S.Army Construction Engineering Research Laboratory

Last changed: $Date: 2006-12-13 17:10:28 +0100 (Wed, 13 Dec 2006) $

Main index - general index - Full index

© 2003-2011 GRASS Development Team