g.remove(1)	       Grass User's Manual	      g.remove(1)



NNAAMMEE
       gg..rreemmoovvee   -  Removes  data  base  element  files from the
       user's current mapset.
       _(_G_R_A_S_S _F_i_l_e _M_a_n_a_g_e_m_e_n_t _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       gg..rreemmoovvee
       gg..rreemmoovvee hheellpp
       gg..rreemmoovvee  [rraasstt==_n_a_m_e[,_n_a_m_e,...]]    [vveecctt==_n_a_m_e[,_n_a_m_e,...]]
       [iiccoonn==_n_a_m_e[,_n_a_m_e,...]]		 [llaabbeellss==_n_a_m_e[,_n_a_m_e,...]]
       [ssiitteess==_n_a_m_e[,_n_a_m_e,...]]		 [rreeggiioonn==_n_a_m_e[,_n_a_m_e,...]]
       [ggrroouupp==_n_a_m_e[,_n_a_m_e,...]]

DDEESSCCRRIIPPTTIIOONN
       _g_._r_e_m_o_v_e  allows  the  user  to remove specified data base
       element files from the current mapset.

OOPPTTIIOONNSS
       If _g_._r_e_m_o_v_e is invoked without arguments  on  the  command
       line,  a  menu  will  appear listing possible data element
       types, as below:

	      raster maps

	      vector maps

	      paint icon files

	      paint label files

	      site list files

	      region files

	      imagery group files

       RETURN to exit


       Once the element type is selected, the user is prompted to
       name  a	specific  file	of this element type for removal.
       (This list will vary, depending on  what  files	currently
       exist  in  the  user's  mapset.)   The  specified  file is
       removed, and the user is again prompted for the name of	a
       file  of  this  element type to be removed.  When prompted
       for a file name, the user may enter lliisstt to see a list  of
       existing  files of this element type, or hit RETURN to get
       back to the above menu.


       Alternately, the user can specify the  data  base  element
       type  and file(s) to be removed on the command line.  Data
       base element types are specified by the names to the left,
       below.

   PPaarraammeetteerrss::
       rraasstt==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of raster file(s) to be removed.

       vveecctt==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of vector file(s) to be removed.

       iiccoonn==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of paint icon file(s) to be removed.

       llaabbeellss==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of paint labels file(s) to be removed.

       ssiitteess==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of site list file(s) to be removed.

       rreeggiioonn==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of region file(s) to be removed.

       ggrroouupp==_n_a_m_e[,_n_a_m_e,...]
	      Name(s) of imagery group file(s) to be removed.

       The  data  base	element  file(s) named by the user on the
       command line are subsequently removed from the user's cur-
       rent mapset.

EEXXAAMMPPLLEE
       For example, the below command will cause the raster files
       named _s_o_i_l_s, _s_l_o_p_e, and _t_e_m_p, the vector files named _r_o_a_d_s
       and  _r_a_i_l,  and	the  imagery group files named _n_h_a_p_._1 and
       _n_h_a_p_._2, and these files' associated support  files  (e.g.,
       cell  header  files,  category files, etc.), to be removed
       from    the    user's	current     mapset.	 gg..rreemmoovvee
       rraasstt==_s_o_i_l_s_,_s_l_o_p_e_,_t_e_m_p vveecctt==_r_o_a_d_s_,_r_a_i_l ggrroouupp==_n_h_a_p_._1_,_n_h_a_p_._2


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


       The user can only use _g_._r_e_m_o_v_e to remove data files exist-
       ing under the user's _c_u_r_r_e_n_t _m_a_p_s_e_t.


       To  remove  multiple  files,  the  script _g_._m_r_e_m_o_v_e may be
       used.

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

SSEEEE AALLSSOO
       _g_._c_o_p_y

       _g_._l_i_s_t

       _g_._r_e_n_a_m_e _g_._m_r_e_m_o_v_e

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

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_3 _$



GRASS 5.0					      g.remove(1)
