1g.remove(1)                   Grass User's Manual                  g.remove(1)
2
3
4

NAME

6       g.remove   -  Removes  data  base element files from the user’s current
7       mapset using the search pattern.
8

KEYWORDS

10       general, map management, remove
11

SYNOPSIS

13       g.remove
14       g.remove --help
15       g.remove             [-irefb]              type=datatype[,datatype,...]
16       [name=string[,string,...]]      [ignore=string[,string,...]]      [pat‐
17       tern=string]    [exclude=string]    [--help]   [--verbose]    [--quiet]
18       [--ui]
19
20   Flags:
21       -i
22           Ignore case
23
24       -r
25           Use basic regular expressions instead of wildcards
26
27       -e
28           Use extended regular expressions instead of wildcards
29
30       -f
31           Force removal (required for actual deletion of files)
32
33       -b
34           Remove base raster maps
35
36       --help
37           Print usage summary
38
39       --verbose
40           Verbose module output
41
42       --quiet
43           Quiet module output
44
45       --ui
46           Force launching GUI dialog
47
48   Parameters:
49       type=datatype[,datatype,...] [required]
50           Data type(s)
51           Options: raster, raster_3d, vector, label, region, group, all
52           raster: raster map(s)
53           raster_3d: 3D raster map(s)
54           vector: vector map(s)
55           label: paint label file(s)
56           region: region definition(s)
57           group: imagery group(s)
58           all: all types
59
60       name=string[,string,...]
61           Name of file(s) to remove
62
63       ignore=string[,string,...]
64           Name of file(s) to ignore (default: none)
65
66       pattern=string
67           File name search pattern
68
69       exclude=string
70           File name exclusion pattern (default: none)
71

DESCRIPTION

73       g.remove  removes  data  files matching a pattern given by wildcards or
74       POSIX Extended Regular Expressions. If the -f force flag is  not  given
75       then  nothing  is  removed,  instead the list of selected file names is
76       printed to stdout as a preview of the files to be deleted.
77

EXAMPLES

79       Delete map1 and map2 raster maps in the current mapset:
80       g.remove -f type=raster name=tmp1,tmp2
81       Delete all raster and vector maps starting with "tmp_" in  the  current
82       mapset:
83       # show matching raster and vector maps but do not delete yet (as verification)
84       g.remove type=raster,vector pattern="tmp_*"
85       # actually delete the matching raster and vector maps
86       g.remove -f type=raster,vector pattern="tmp_*"
87       Delete  all  vector maps starting with "stream_" in the current mapset,
88       but exclude those ending with "_final":
89       g.remove -f type=vector pattern="stream_*" exclude="*_final"
90

AUTHOR

92       Huidae Cho
93       grass4u@gmail.com
94

SOURCE CODE

96       Available at: g.remove source code (history)
97
98       Main index | General index | Topics index | Keywords index |  Graphical
99       index | Full index
100
101       © 2003-2019 GRASS Development Team, GRASS GIS 7.8.2 Reference Manual
102
103
104
105GRASS 7.8.2                                                        g.remove(1)
Impressum