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

NAME

6       g.copy  - Copies available data files in the current mapset search path
7       to the user’s current mapset.
8

KEYWORDS

10       general, map management
11

SYNOPSIS

13       g.copy
14       g.copy --help
15       g.copy    [raster=from,to]     [raster_3d=from,to]     [vector=from,to]
16       [label=from,to]    [region=from,to]    [group=from,to]    [--overwrite]
17       [--help]  [--verbose]  [--quiet]  [--ui]
18
19   Flags:
20       --overwrite
21           Allow output files to overwrite existing files
22
23       --help
24           Print usage summary
25
26       --verbose
27           Verbose module output
28
29       --quiet
30           Quiet module output
31
32       --ui
33           Force launching GUI dialog
34
35   Parameters:
36       raster=from,to
37           raster map(s) to be copied
38
39       raster_3d=from,to
40           3D raster map(s) to be copied
41
42       vector=from,to
43           vector map(s) to be copied
44
45       label=from,to
46           paint label file(s) to be copied
47
48       region=from,to
49           region definition(s) to be copied
50
51       group=from,to
52           imagery group(s) to be copied
53

DESCRIPTION

55       A user may access data stored under the other mapsets listed  in  their
56       mapset search path. However, the user may only modify data stored under
57       their own current mapset. g.copy allows the user to copy existing  data
58       files  from  other  mapsets to the user’s current mapset ($MAPSET). The
59       files to be copied must exist in the user’s current mapset search  path
60       and  location;  output  is  sent  to  the  relevant data element direc‐
61       tory(ies) under the user’s current mapset.
62

EXAMPLES

64       If the user wished to copy the existing raster file  soils  to  a  file
65       called  soils.ph  and  to  copy  an existing vector map roads to a file
66       called rds.old, the user could type:
67       g.copy raster=soils,soils.ph
68       g.copy vector=roads,rds.old
69       # or even combined:
70       g.copy raster=soils,soils.ph vector=roads,rds.old
71
72       Data files can also be specified by their mapsets.   For  example,  the
73       below  command copies the raster map named soils from the mapset wilson
74       to a new file called soils  to  be  placed  under  the  user’s  current
75       mapset:
76       g.copy raster=soils@wilson,soils
77       If  no mapset name is specified, g.copy searches for the named from map
78       in each of the mapset directories listed in the user’s  current  mapset
79       search  path  in  the  order  in  which  mapsets  are listed there (see
80       g.mapsets).
81

SEE ALSO

83        g.access, g.list, g.mapsets, g.remove, g.rename
84

AUTHOR

86       Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
87
88       Last changed: $Date: 2016-04-29 16:26:35 +0200 (Fri, 29 Apr 2016) $
89

SOURCE CODE

91       Available at: g.copy source code (history)
92
93       Main index | General index | Topics index | Keywords index |  Graphical
94       index | Full index
95
96       © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
97
98
99
100GRASS 7.6.0                                                          g.copy(1)
Impressum