Initial import of the user guide translations from http://userguide.haikuzone.net. Thanks to Vincent for providing all the necessary tools and to all translators for their work so far!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35067 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Joachim Seemer
2010-01-14 07:00:47 +00:00
parent bcc2c157a1
commit ee7dedc859
1233 changed files with 58973 additions and 4098 deletions
+60 -38
View File
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"../../html-dtd/xhtml1-strict.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../../html-dtd/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
@@ -20,33 +19,44 @@
</head>
<body>
<div class="logo">
<img src="./images/logo.png" alt="logo" class="noprint" id="logo" name="logo" />
<div id="banner">
<div><span>User guide</span></div>
</div>
<div class="topnav">
<p>
«&#160;&#160;<a href="attributes.html">Attributes</a>
&#160;&#160;::&#160;&#160;
<a href="contents.html" class="uplink">Contents</a>
&#160;&#160;::&#160;&#160;
<a href="queries.html">Queries</a>&#160;&#160;»
</p>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../../images/flags/gb.png" alt="" /> English</li>
<li><a href="../fr/index.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../de/index.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../it/index.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../ru/index.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../es/index.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../sv_SE/index.html"><img src="../../images/flags/sv_SE.png" alt="" />Svensk</a></li>
<li><a href="../jp/index.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
</ul>
<span>
« <a href="attributes.html">Attributes</a>
:: <a href="contents.html" class="uplink">Contents</a>
:: <a href="queries.html">Queries</a> »
</span></div>
</div>
<div class="content">
<div id="content">
<div>
<div class="title">Index</div>
<h1>Index</h1>
<p><a href="attributes.html">Attributes</a> and <a href="queries.html">Queries</a> are key features of Haiku. While attributes are useful on their own, to display additional information on a file, for a query on them, they need to be indexed. It puts them into a lookup table, which in turn makes queries lightning fast.<br />
The index is part of the filesystem and is kept for every volume/partition separately.</p>
<h1>
Indexing commands in Terminal</h1>
<h2>
Indexing commands in Terminal</h2>
<p>There are several commands to manage the index:</p>
<ul>
<li><b>lsindex</b> - Displays the indexed attributes on the current volume/partition.
<p>These are the attributes that are indexed by default:<br />
<li><b>lsindex</b> - Displays the indexed attributes on the current volume/partition.<br />
These are the attributes that are indexed by default:</li>
</ul>
<pre class="terminal"> ~ -&gt;lsindex
BEOS:APP_SIG
MAIL:account
@@ -86,24 +96,38 @@ be:deskbar_item_status
last_modified
name
size
</pre><br /></p></li>
<li><b>mkindex</b> - Adds an attribute to the index of a volume/partition.
</pre>
<ul>
<li><b>mkindex</b> - Adds an attribute to the index of a volume/partition. </li>
</ul>
<pre>Usage: mkindex [options] &lt;attribute&gt;
Creates a new index for the specified attribute.
-d, --volume=PATH a path on the volume to which the index will be added,
defaults to current volume.
-t, --type=TYPE the type of the attribute being indexed. One of &quot;int&quot;,
&quot;llong&quot;, &quot;string&quot;, &quot;float&quot;, or &quot;double&quot;.
Defaults to &quot;string&quot;.
-t, --type=TYPE the type of the attribute being indexed. One of "int",
"llong", "string", "float", or "double".
Defaults to "string".
--copy-from path to volume to copy the indexes from.
-v, --verbose print information about the index being created
</pre>
</pre>
<p>Only <b>new</b> files with that attribute come automatically into the index!<br />
Existing files have to be added manually by copying them and deleting the originals after that. Alternatively you can use the tool <a href="http://www.bebits.com/app/2033">reindex</a>.
</p></li>
<li><b>rmindex</b> - Removes an attribute from the index of a volume/partition.
Existing files have to be added manually by copying them and deleting the originals after that. Alternatively you can use the command <span class="cli">reindex</span>.
</p>
<ul>
<li><b>reindex</b> - Puts the attributes of existing files into the newly created index of a volume/partition. </li>
</ul>
<pre>Usage: reindex [-rvf] attr &lt;list of filenames and/or directories&gt;
-r enter directories recursively
-v verbose output
-f create/update all indices from the source volume,
"attr" is the path to the source volume
</pre>
<ul>
<li><b>rmindex</b> - Removes an attribute from the index of a volume/partition.</li>
</ul>
<pre>Usage: rmindex [OPTION]... INDEX_NAME
Removes the index named INDEX_NAME from a disk volume. Once this has been
@@ -118,19 +142,17 @@ files with the INDEX_NAME attribute.
INDEX_NAME is the name of a file attribute.
If no volume is specified, the volume of the current directory is assumed.</pre></li>
</ul>
If no volume is specified, the volume of the current directory is assumed.</pre>
</div>
</div>
<div class="bottomnav">
<p>
«&#160;&#160;<a href="attributes.html">Attributes</a>
&#160;&#160;::&#160;&#160;
<a href="contents.html" class="uplink">Contents</a>
&#160;&#160;::&#160;&#160;
<a href="queries.html">Queries</a>&#160;&#160;»
</p>
<div class="nav">
<div class="inner"><span>
« <a href="attributes.html">Attributes</a>
:: <a href="contents.html" class="uplink">Contents</a>
:: <a href="queries.html">Queries</a> »
</span></div>
</div>
</body>