| g.mlist(1grass) | Grass User's Manual | g.mlist(1grass) |
NAME¶
g.mlist - Lists available GRASS data base files of the user-specified data type optionally using the search pattern.KEYWORDS¶
general, map managementSYNOPSIS¶
g.mlistFlags:¶
- -r
-
Use basic regular expressions instead of wildcards
- -e
-
Use extended regular expressions instead of wildcards
- -t
-
Print data types
- -m
-
Print fully-qualified map names (including mapsets)
- -p
-
Pretty printing in human readable format
- -f
-
Verbose listing (also list map titles)
- --verbose
-
Verbose module output
- --quiet
-
Quiet module output
Parameters:¶
- type=datatype[,datatype,...]
-
Data typeOptions: rast,rast3d,vect,oldvect,asciivect,icon,labels,sites,region,region3d,group,3dview,allDefault: rast
- pattern=string
-
Map name search pattern (default: all)
- exclude=string
-
Map name exclusion pattern (default: none)
- separator=string
-
One-character output separator, newline, comma, space, or tabDefault: newline
- mapset=string
-
Mapset to list (default: current search path)
DESCRIPTION¶
g.mlist searches for data files matching a pattern given by wildcards or POSIX Extended Regular Expressions.EXAMPLES¶
List all available GRASS data base files:g.mlist type=all
g.mlist type=rast,vect
Wildcards:¶
List all vector maps starting with letter "r":g.mlist type=vect pattern="r*"
g.mlist type=rast pattern="N45E00?.meters"
Regular expressions:¶
Print out all soils map with "soils" in their name:g.mlist -r pattern='^tmp$'
g.mlist -r type=vect pattern='^tmp[0-9]$'
g.mlist -r type=vect separator=, pattern='^tmp[0-9]$'
SEE ALSO¶
g.list Regular expression (from Wikipedia, the free encyclopedia)AUTHOR¶
Huidae Cho| GRASS 6.4.2 |