1g.remove(1) Grass User's Manual g.remove(1)
2
3
4
6 g.remove - Removes data base element files from the user's current
7 mapset.
8
10 general
11
13 g.remove
14 g.remove help
15 g.remove [rast=string[,string,...]] [rast3d=string[,string,...]]
16 [vect=string[,string,...]] [oldvect=string[,string,...]] [asci‐
17 ivect=string[,string,...]] [icon=string[,string,...]]
18 [labels=string[,string,...]] [sites=string[,string,...]]
19 [region=string[,string,...]] [region3d=string[,string,...]]
20 [group=string[,string,...]] [3dview=string[,string,...]]
21
22 Parameters:
23 rast=string[,string,...]
24 rast file(s) to be removed
25
26 rast3d=string[,string,...]
27 rast3d file(s) to be removed
28
29 vect=string[,string,...]
30 vect file(s) to be removed
31
32 oldvect=string[,string,...]
33 oldvect file(s) to be removed
34
35 asciivect=string[,string,...]
36 asciivect file(s) to be removed
37
38 icon=string[,string,...]
39 icon file(s) to be removed
40
41 labels=string[,string,...]
42 labels file(s) to be removed
43
44 sites=string[,string,...]
45 sites file(s) to be removed
46
47 region=string[,string,...]
48 region file(s) to be removed
49
50 region3d=string[,string,...]
51 region3d file(s) to be removed
52
53 group=string[,string,...]
54 group file(s) to be removed
55
56 3dview=string[,string,...]
57 3dview file(s) to be removed
58
60 g.remove allows the user to remove specified data base element files
61 from the current mapset.
62
64 For example, the below command will cause the raster files named soils,
65 slope, and temp, the vector files named roads and rail, and the imagery
66 group files named nhap.1 and nhap.2, and these files' associated sup‐
67 port files (e.g., cell header files, category files, etc.), to be
68 removed from the user's current mapset.
69 g.remove rast=soils,slope,temp vect=roads,rail group=nhap.1,nhap.2
70
71
73 If a particular data base element file has support files associated
74 with it (e.g., as is commonly the case with raster files), g.remove
75 will remove these support files along with the data base element file
76 specified.
77
78 The user can only use g.remove to remove data files existing under the
79 user's current mapset.
80
81 To remove multiple files, the script g.mremove may be used.
82
84 $GISBASE/etc/element_list lists the element types whose files can be
85 removed by the user.
86
88 g.copy
89 g.list
90 g.rename
91 g.mremove
92
94 Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
95
96 Last changed: $Date: 2005/12/08 08:36:06 $
97
98 Full index
99
100
101
102GRASS 6.2.2 g.remove(1)