## 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 files named soils, slope, and temp, the vector files 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 files), 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: 2003/04/01 14:13:33 $