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: Monday Jan 30 19:52:26 2023 in commit: cac8d9d848299297977d1315b7e90cc3f7698730
Main index |
General index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2024
GRASS Development Team,
GRASS GIS 8.5.0dev Reference Manual