/usr/share/doc/grass-doc/html/g.mapset.html is in grass-doc 6.4.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS manual: g.mapset</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">
<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
<h2>NAME</h2>
<em><b>g.mapset</b></em> - Changes current mapset.<BR>
Optionally create new mapset or list available mapsets in given location.
<h2>KEYWORDS</h2>
general, settings
<h2>SYNOPSIS</h2>
<b>g.mapset</b><br>
<b>g.mapset help</b><br>
<b>g.mapset</b> [-<b>cl</b>] [<b>mapset</b>=<em>string</em>] [<b>location</b>=<em>string</em>] [<b>gisdbase</b>=<em>path</em>] [--<b>verbose</b>] [--<b>quiet</b>]
<h3>Flags:</h3>
<DL>
<DT><b>-c</b></DT>
<DD>Create mapset if it doesn't exist</DD>
<DT><b>-l</b></DT>
<DD>List available mapsets</DD>
<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>
<h3>Parameters:</h3>
<DL>
<DT><b>mapset</b>=<em>string</em></DT>
<DD>Name of mapset where to switch</DD>
<DT><b>location</b>=<em>string</em></DT>
<DD>Location name (not location path)</DD>
<DT><b>gisdbase</b>=<em>path</em></DT>
<DD>GIS data directory (full path to the directory where the new location is)</DD>
</DL>
<h2>DESCRIPTION</h2>
<em>g.mapset</em> changes the current working MAPSET, LOCATION, or GISDBASE.
This is a fairly radical maneuver to run mid-session, take care when running
the GUI at the same time.
<h2>NOTES</h2>
The shell continues to use the history for the old mapset. To change this
you can switch the history to the new settings by commands:<br>
<br>
<div class="code"><pre>
history -w
history -r /"$GISDBASE/$LOCATION/$MAPSET"/.bash_history
HISTFILE=/"$GISDBASE/$LOCATION/$MAPSET"/.bash_history
</pre></div><br>
<h2>SEE ALSO</h2>
<em>
<a href="g.gisenv.html">g.gisenv</a><br>
<a href="g.mapsets.html">g.mapsets</a>
</em>
<br>
<h2>AUTHOR</h2>
Radim Blazek
<p>
<i>Last changed: $Date: 2013-06-16 05:08:46 +0200 (Sun, 16 Jun 2013) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="general.html">general index</a> - <a href="full_index.html">Full index</a></P>
<P>© 2003-2013 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>
|