haiku/docs/userguide/it/index.html

179 lines
5.9 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="it" xml:lang="it">
<head>
<!--
*
* Copyright 2008-2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Translators:
* Barrett
* fyskij
* Gabriele
*
-->
<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>Indice</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>Guida dell'utente</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now">Italiano&nbsp;<span class="dropdown-caret">&#9660;</span></li>
<li><a href="../id/index.html">Bahasa Indonesia</a></li>
<li><a href="../ca/index.html">Català</a></li>
<li><a href="../de/index.html">Deutsch</a></li>
<li><a href="../en/index.html">English</a></li>
<li><a href="../es/index.html">Español</a></li>
<li><a href="../eo/index.html">Esperanto</a></li>
<li><a href="../fr/index.html">Français</a></li>
<li><a href="../fur/index.html">Furlan</a></li>
<li><a href="../hu/index.html">Magyar</a></li>
<li><a href="../pl/index.html">Polski</a></li>
<li><a href="../pt_PT/index.html">Português</a></li>
<li><a href="../pt_BR/index.html">Português (Brazil)</a></li>
<li><a href="../ro/index.html">Română</a></li>
<li><a href="../sk/index.html">Slovenčina</a></li>
<li><a href="../fi/index.html">Suomi</a></li>
<li><a href="../sv_SE/index.html">Svenska</a></li>
<li><a href="../tr/index.html">Türkçe</a></li>
<li><a href="../zh_CN/index.html"> 中文 [中文]</a></li>
<li><a href="../ru/index.html">Русский</a></li>
<li><a href="../uk/index.html">Українська</a></li>
<li><a href="../jp/index.html">日本語</a></li>
</ul>
<span>
« <a href="attributes.html">Attributi</a>
:: <a href="contents.html" class="uplink">Contenuti</a>
:: <a href="queries.html">Le interrogazioni</a> »
</span></div>
</div>
<div id="content">
<div>
<h1>Indice</h1>
<p>Gli <a href="attributes.html">Attributi</a> e le <a href="queries.html">Interrogazioni</a> sono fra le caratteristiche principali di Haiku.
Mentre gli attributi sono utili di per se in quanto permettono di visualizzare delle informazioni aggiuntive, per poter effettuare delle query c'è bisogno che gli attributi vengano indicizzati.
Essi vengono inseriti su una tabella di ricerca, che a sua volta consente di eseguire delle query velocissime.<br />
L'indice è parte del filesystem ed è conservato su ogni volume e su ogni partizione separatamente.</p>
<h2>Comandi di indicizzazione dal Terminale</h2>
<p>Ci sono numerosi comandi per gestire l'indice:</p>
<ul>
<li><b>lsindex</b> - Visualizza l'indice degli attributi sul volume o sulla partizione in uso.<br />
Ci sono attributi che vengono indicizzati in modo predefinito:</li>
</ul>
<pre class="terminal"> ~ -&gt;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> - Aggiunge un attributo all'indice del volume o della partizione.</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 "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>Verranno automaticamente indicizzati solo i <b>nuovi</b> file con questo attributo.<br />
I file esistenti devono essere aggiunti manualmente copiandoli ed eliminando gli originali, altrimenti si può usare il comando <span class="cli">reindex</span>.
</p>
<ul>
<li><b>reindex</b> - Inserisce gli attributi dei file esistenti nel nuovo indice di un volume o di una partizione. </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> - Rimuove un attributo dall'indice di un volume o di una partizione.</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">Attributi</a>
:: <a href="contents.html" class="uplink">Contenuti</a>
:: <a href="queries.html">Le interrogazioni</a> »
</span></div>
</div>
</body>
</html>