Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
NAME
g.copyall - Copies all or a filtered subset of files of selected type from another mapset to the current working mapset.
KEYWORDS
copy,
general
SYNOPSIS
g.copyall
g.copyall --help
g.copyall [-t] mapset=name datatype=string [filter=string] [filter_type=string] [output_prefix=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -t
- Update vector topology to match current GRASS version
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- mapset=name [required]
- Name of mapset (default: current search path)
- Mapset to copy files from
- datatype=string [required]
- Choose type of GRASS data to copy
- Options: rast, vect, labels, rast3d, region, group
- Default: rast
- filter=string
- Search pattern to filter data files to copy
- filter_type=string
- Type of search pattern to use
- Options: select all, wildcards, regular expressions, extended regular expressions
- Default: select all
- output_prefix=string
- Optional prefix for output raster maps
g.copyall copies maps/files of a specified from a selected mapset
to the current working mapset. All maps/files can be copied or a subset of
maps/files specified by a wildcard pattern or regular expression. Optionally, a
prefix can be added to all files copied and vector topology can be rebuilt to match
currently running version of GRASS.
Copy all raster maps from mapset "test" to current mapset and prefix them
with "fromtest":
g.copyall mapset=test output_prefix=fromtest
Copy all vector maps beginning with "s" from mapset "test" to current mapset:
g.copyall mapset=test datatype=vect filter="s*"
g.list,
g.copy
Michael Barton (Arizona State University, USA)
SOURCE CODE
Available at:
g.copyall source code
(history)
Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
Main index |
General index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2023
GRASS Development Team,
GRASS GIS 7.8.8dev Reference Manual