0517ce048e
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36781 a95241bf-73f2-0310-859d-f6bbb57e9c96
162 lines
5.4 KiB
HTML
162 lines
5.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
|
|
<head>
|
|
<!--
|
|
*
|
|
* Copyright 2008-2009, Haiku. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Humdinger <humdingerb@gmail.com>
|
|
* Translators:
|
|
* miguel~1.mx
|
|
*
|
|
-->
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
<meta name="robots" content="all" />
|
|
<title>Índice</title>
|
|
<link rel="stylesheet" type="text/css" href="../Haiku-doc.css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div id="banner">
|
|
<div><span>Guía del usuario</span></div>
|
|
</div>
|
|
|
|
<div class="nav">
|
|
<div class="inner">
|
|
<ul class="lang-menu">
|
|
<li class="now"><img src="../images/flags/es.png" alt="" /> Español</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="../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>
|
|
<li><a href="../uk/index.html"><img src="../images/flags/uk.png" alt="" />Українська</a></li>
|
|
<li><a href="../en/index.html"><img src="../images/flags/gb.png" alt="" />English</a></li>
|
|
</ul>
|
|
<span>
|
|
« <a href="attributes.html">Atributos</a>
|
|
:: <a href="contents.html" class="uplink">Contenidos</a>
|
|
:: <a href="queries.html">Consultas</a> »
|
|
</span></div>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<div>
|
|
|
|
<h1>Índice</h1>
|
|
|
|
<p>Los <a href="attributes.html">atributos</a> y las <a href="queries.html">consultas</a> son características clave de Haiku. Mientras los atributos son útiles por propia cuenta, para desplegar información adicional en un archivo, para realizar una consulta sobre ellos se necesitan indexar. Ello los coloca dentro de una tabla de búsqueda, haciendo que las búsquedas sean rápidas como el rayo.<br />
|
|
Los índices son parte del sistema de archivos y se almacenan para cada volumen/partición separadamente.</p>
|
|
|
|
<h2>Indexar comandos en la Terminal</h2>
|
|
<p>Hay varias comandos para administrar los índices:</p>
|
|
<ul>
|
|
<li><b>lsindex</b> - Despliega los atributos indexados en el volumen/partición actual.<br />
|
|
Estos son los atributos que se indexan predeterminadamente:</li>
|
|
</ul>
|
|
<pre class="terminal"> ~ ->lsindex
|
|
BEOS:APP_SIG
|
|
MAIL:account
|
|
MAIL:cc
|
|
MAIL:chain
|
|
MAIL:draft
|
|
MAIL:flags
|
|
MAIL:from
|
|
MAIL:name
|
|
MAIL:pending_chain
|
|
MAIL:priority
|
|
MAIL:reply
|
|
MAIL:status
|
|
MAIL:subject
|
|
MAIL:thread
|
|
MAIL:to
|
|
MAIL:when
|
|
META:address
|
|
META:city
|
|
META:company
|
|
META:country
|
|
META:email
|
|
META:fax
|
|
META:group
|
|
META:hphone
|
|
META:name
|
|
META:nickname
|
|
META:state
|
|
META:url
|
|
META:wphone
|
|
META:zip
|
|
_signature
|
|
_status
|
|
_trk/qrylastchange
|
|
_trk/recentQuery
|
|
be:deskbar_item_status
|
|
last_modified
|
|
name
|
|
size
|
|
</pre>
|
|
<ul>
|
|
<li><b>mkindex</b> - Agrega un atributo al índice de un volumen/partición.</li>
|
|
</ul>
|
|
<pre>Usage: mkindex [options] <attribute>
|
|
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 "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>
|
|
<p>¡Únicamente los archivos <b>nuevos</b> con ese atributo automáticamente llegan al índice!<br />
|
|
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> - Pone los atributos de archivos existentes dentro del índice recientemente creado de un volumen/partición. </li>
|
|
</ul>
|
|
<pre>Usage: reindex [-rvf] attr <list of filenames and/or directories>
|
|
-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> - Remueve un atributo del índice de un volumen/partición.</li>
|
|
</ul>
|
|
<pre>Usage: rmindex [OPTION]... INDEX_NAME
|
|
|
|
Removes the index named INDEX_NAME from a disk volume. Once this has been
|
|
done, it will no longer be possible to use the query system to search for
|
|
files with the INDEX_NAME attribute.
|
|
|
|
-d, --volume=PATH a path on the volume from which the index will be
|
|
removed
|
|
-h, --help display this help and exit
|
|
-p, --pattern INDEX_NAME is a pattern
|
|
-v, --verbose print information about the index being removed
|
|
|
|
INDEX_NAME is the name of a file attribute.
|
|
|
|
If no volume is specified, the volume of the current directory is assumed.</pre>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="nav">
|
|
<div class="inner"><span>
|
|
« <a href="attributes.html">Atributos</a>
|
|
:: <a href="contents.html" class="uplink">Contenidos</a>
|
|
:: <a href="queries.html">Consultas</a> »
|
|
</span></div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|