﻿<?xml version="1.0"?><!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
  <!ENTITY legal SYSTEM "legal.xml">
  <!ENTITY appversion "2.2.3">
  <!ENTITY manrevision "2.3.1">
  <!ENTITY date "September 2003">
  <!ENTITY app "Search for Files">
  <!ENTITY ug "GNOME Desktop User Guide">
]>
<!-- 
      (Do not remove this comment block.)
  Maintained by the GNOME Documentation Project
  http://developer.gnome.org/projects/gdp 
  Template version: 2.0 beta
  Template last modified Apr 11, 2002  
-->
<!-- =============Document Header ============================= -->
<article id="index" lang="zh_cn">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
  <articleinfo>
    <title>&app; 手册 V&manrevision;</title>

    <copyright> 
      <year>2002</year> 
      <year>2003</year> 
      <holder>Sun Microsystems</holder> 
    </copyright> 
    <copyright> 
      <year>2000</year> 
      <holder>Alexander Kirillov</holder> 
    </copyright>
<!-- translators: uncomment this:

  <copyright>
   <year>2002</year>
   <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  </copyright>

   -->
    <publisher> 
      <publishername> GNOME Documentation Project </publishername> 
    </publisher> 

   &legal;

    <authorgroup>
      <author> 
	<firstname>Sun</firstname> 
	<surname>GNOME Documentation Team</surname> 
	<affiliation> 
	  <orgname>Sun Microsystems</orgname> 
	  <address></address>
	</affiliation>
      </author>
      <author> 
	<firstname>Alexander</firstname> 
	<surname>Kirillov</surname> 
	<affiliation> 
	  <orgname>GNOME Documentation Project</orgname> 
	  <address> <email>kirillov@math.sunysb.edu</email> </address>
	</affiliation>
      </author>
<!-- This is appropriate place for other contributors: translators,
      maintainers,  etc. Commented out by default.
       <othercredit role="translator">
	<firstname>Latin</firstname> 
	<surname>Translator 1</surname> 
	<affiliation> 
	  <orgname>Latin Translation Team</orgname> 
	  <address> <email>translator@gnome.org</email> </address> 
	</affiliation>
	<contrib>Latin translation</contrib>
      </othercredit>
-->
    </authorgroup>

 <revhistory>
 <revision> 
	<revnumber>&app; 手册 V&manrevision;</revnumber> 
	<date>&date;</date> 
	<revdescription> 
	  <para role="author">Sun GNOME Documentation Team</para>
	  <para role="publisher">GNOME Documentation Project</para>
	</revdescription>
 </revision>
 <revision> 
			<revnumber>搜索工具手册 V2.3</revnumber> 
			<date>2002 年 9 月</date> 
			<revdescription> 
	  		<para role="author">Sun GNOME Documentation Team</para>
	  		<para role="publisher">GNOME Documentation Project</para>
			</revdescription>
 </revision>
 <revision> 
			<revnumber>搜索工具手册 V2.2</revnumber> 
			<date>2002 年 8 月</date> 
			<revdescription> 
	  		<para role="author">Sun GNOME Documentation Team</para>
	  		<para role="publisher">GNOME Documentation Project</para>
			</revdescription>
 </revision>
 <revision> 
			<revnumber>搜索工具手册 V2.1</revnumber> 
			<date>2002 年 7 月</date> 
			<revdescription> 
	  		<para role="author">Sun GNOME Documentation Team</para>
	  		<para role="publisher">GNOME Documentation Project</para>
			</revdescription>
 </revision>
 <revision> 
			<revnumber>搜索工具手册 V2.0</revnumber> 
			<date>2002 年 5 月</date> 
			<revdescription> 
	  		<para role="author">Sun GNOME Documentation Team</para>
	  		<para role="publisher">GNOME Documentation Project</para>
			</revdescription>
 </revision>
 <revision> 
	<revnumber>GNOME 搜索工具手册</revnumber> 
	<date>2000 年</date> 
	<revdescription> 
	  <para role="author">Alexander Kirillov
	    <email>kirillov@math.sunysb.edu</email>
	  </para>
	  <para role="publisher">GNOME Documentation Project</para>
	</revdescription>
 </revision>
 </revhistory>

    <releaseinfo>本手册介绍 &app; &appversion; 版。
    </releaseinfo>
    <legalnotice> 
      <title>反馈</title>
      <para>要报告关于 &app; 应用程序或本手册的错误或提出建议，请遵循 <ulink url="ghelp:gnome-feedback" type="help">GNOME 反馈页</ulink>中的指导。 
     </para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice>
  </articleinfo>

  <indexterm> 
    <primary>搜索工具</primary> 
  </indexterm> 

<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->

  <sect1 id="gsearchtool-introduction"> 
    <title>简介</title>
    <para>此 <application>&app;</application> 应用程序使您可以搜索您的系统上的文件。
    要执行基本的搜索，您可以键入文件名或带有通配符的部分文件名。
    要细化您的搜索，您可以选择要 <application>&app;</application> 应用的附加搜索选项。</para>
    <para><application>&app;</application> 会使用 <command>find</command>、<command>grep</command> 和 <command>locate</command> UNIX 命令。</para>
  </sect1>

  <sect1 id="gsearchtool-getting-started">
    <title>入门</title>

    <para>可以通过以下方式启动 <application>&app;</application>：
    </para>
    <variablelist>
    	<varlistentry>
    		<term>菜单</term>
    		<listitem>
    		<para>有关如何从菜单启动 <application>&app;</application> 的信息，请参见适用于您的平台的 &ug; 的最新版本。</para>
    		</listitem>
    	</varlistentry>
    	<varlistentry>
    		<term>命令行</term>
    		<listitem>
    		<para>执行以下命令： <command>gnome-search-tool</command></para>
    		<para>		 
    		</para>
    		</listitem>
    	</varlistentry>
    </variablelist>

    <para>在启动 <application>&app;</application> 之后，系统会显示下面的窗口。</para>

    <!-- ==== Figure ==== -->
      <figure id="mainwindow-fig"> 
	<title>&app; 窗口</title>
	<screenshot>
	  <mediaobject>
	    <imageobject><imagedata 		fileref="figures/gnome-search-tool_window.png" format="PNG"/> 
	    </imageobject>
	    <textobject>
	      <phrase>显示 &app; 主窗口。包含标题栏、菜单栏、&ldquo;简单&rdquo;和&ldquo;高级&rdquo;选项卡式部分。</phrase>
	    </textobject>
	  </mediaobject>
	</screenshot>
      </figure>
    <!-- ==== End of Figure ==== -->

  </sect1>

<!-- ================ Usage ================================ -->

  <sect1 id="gsearchtool-usage"> 
    <title>用法</title>

    <sect2 id="gsearchtool-simple">
    <title>执行基本搜索</title>
    
    <para>要在系统上对一个文件执行基本搜索，请执行以下步骤：</para>
    <orderedlist>
    <listitem><para>在<guilabel>&ldquo;文件名称&rdquo;</guilabel>字段中，输入以下字符串之一：</para>
    		<itemizedlist>
    			<listitem><para>完整的文件名，例如 <userinput>myfile.txt</userinput>。<application>&app;</application> 会搜索系统上所有文件名为 <userinput>myfile.txt</userinput> 的文件。</para></listitem>
    			<listitem><para>与通配符 (*) 组合的部分文件名，例如 <userinput>*.txt</userinput>。
    			<application>&app;</application> 会搜索文件系统中所有扩展名为 <userinput>.txt</userinput> 的文件。</para></listitem>
    		</itemizedlist>
    		<para></para>
     </listitem>
     <listitem><para>在<guilabel>&ldquo;在如下文件夹中搜索&rdquo;</guilabel>字段中，输入想让 <application>&app;</application>
从中开始搜索的目录路径。<application>&app;</application> 会在您指定的目录和该目录的子目录中进行搜索。</para></listitem>
     <listitem><para>单击<guibutton>&ldquo;查找&rdquo;</guibutton>执行搜索操作。
     <application>&app;</application> 会在<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表框中显示搜索的结果。
     如果 <application>&app;</application> 没有找到与搜索标准匹配的任何文件，应用程序会在<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表框中显示&ldquo;未找到文件&rdquo;的消息。</para>
     </listitem>
     </orderedlist>
     </sect2>
    
    <sect2 id="gsearchtool-advanced">
    <title>添加搜索选项</title>
    
    <para>要添加搜索选项以便在系统上执行文件搜索，请执行以下步骤：</para>
  	<orderedlist>
    		<listitem><para>单击<guilabel>&ldquo;附加选项&rdquo;</guilabel>旁边的方向键。</para></listitem>
    		<listitem><para>单击<guilabel>&ldquo;可用选项&rdquo;</guilabel>下拉列表。</para></listitem>
    		<listitem><para>选择要应用的搜索选项。</para></listitem>
    		<listitem><para>单击<guibutton>&ldquo;添加&rdquo;</guibutton>可以将搜索选项添加到附加选项列表中。</para></listitem>
    		<listitem><para>在搜索选项中指定必需的搜索信息，有关的信息，请参见 <xref linkend="tbl-search-rules"/>。</para></listitem>
    		<listitem><para>对于每个要应用的搜索选项，重复上述的步骤。</para></listitem>
    	</orderedlist>	
    	<para>要从<guilabel>&ldquo;附加选项&rdquo;</guilabel>列表中删除一个搜索选项，请单击此选项旁的<guibutton>&ldquo;删除&rdquo;</guibutton>按钮。</para>
    	
    
    <table id="tbl-search-rules" frame="topbot">
    <title>搜索选项</title>
		  <tgroup cols="2" colsep="1" rowsep="1">
			 <colspec colname="COLSPEC0" colwidth="33*"/>
			 <colspec colname="COLSPEC1" colwidth="33*"/>
			 <thead>
				<row valign="top">
				  <entry>
					 <para>选项名称</para></entry>
				  <entry>
					 <para>说明</para></entry>
				</row>
			 </thead>
			 <tbody>
				<row valign="top">
				  <entry>
					 <para>包含文本</para></entry>
				  <entry>
					 <para>通过文件名搜索文件。在提供的字段中输入完整的文件名或带有通配符的部分文件名。使用 * 代表的是一串字符。
					使用 ?代表的是一个字符。搜索区分大小写。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>修改的日期数小于（天）</para></entry>
				  <entry>
					 <para>搜索在指定天数之内修改的文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>修改的日期数多于（天）</para></entry>
				  <entry>
					 <para>搜索修改期间超过指定天数的文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>大小至少为（千字节）</para></entry>
				  <entry>
					 <para>搜索低于指定大小的文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>大小至多为（千字节）</para></entry>
				  <entry>
					 <para>搜索高于指定大小的文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>文件为空</para></entry>
				  <entry>
					 <para>搜索空文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>由此用户拥有</para></entry>
				  <entry>
					 <para>搜索由指定用户拥有的文件。在所提供的文本框中键入用户的名称。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>由此组拥有</para></entry>
				  <entry>
					 <para>搜索由指定的组拥有的文件。在所提供的文本框中键入组的名称。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>所有者未知</para></entry>
				  <entry>
					 <para>搜索由系统未知的用户或组拥有的文件。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>非指定的文件</para></entry>
				  <entry>
					 <para>搜索与您输入的文件名不匹配的文件。在提供的字段中输入完整的文件名或带有通配符的部分文件名。
					使用 * 代表的是一串字符。使用 ?代表的是一个字符。搜索区分大小写。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>文件匹配正则表达式</para></entry>
				  <entry>
					 <para>搜索在目录路径或文件名中包含指定正则表达式的文件。在所提供的文本框中键入正则表达式。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>遵循符号链接</para></entry>
				  <entry>
					 <para>搜索文件时遵循符号链接。</para></entry>
				</row>
				<row valign="top">
				  <entry>
					 <para>包含其它文件系统 </para></entry>
				  <entry>
					 <para>搜索包括与起始目录不在同一文件系统的目录。</para></entry>
				</row>
				 				
			 </tbody>
		  </tgroup>
		</table>
    
    </sect2>

    <sect2 id="gsearchtool-stop">
    <title>停止搜索</title>
    <para>单击<guibutton>&ldquo;停止&rdquo;</guibutton>可以在 <application>&app;</application> 完成搜索前停止搜索。</para>
    </sect2>
    
    <sect2 id="gsearchtool-view">
    <title>打开找到的文件</title>
    <para>要打开在<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表框中显示的文件，请执行以下步骤之一：</para>
    <itemizedlist>
    <listitem><para>右击该文件，然后选择<guimenuitem>&ldquo;打开&rdquo;</guimenuitem>。</para></listitem>
     <listitem><para>双击该文件。</para></listitem>
    </itemizedlist>
    <para>要打开包含<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表框中所显示文件的文件夹，请右击该文件，然后选择<guimenuitem>&ldquo;打开文件夹&rdquo;</guimenuitem>。</para>
    <para>要将<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表框中显示的文件复制到桌面的其它区域中，请将该文件拖到该区域中。</para>
    </sect2>
    
    <!--
    <sect2 id="gsearchtool-search-command">
    <title>To View the Search Command Used by &app;</title>
    <para>To view the command that <application>&app;</application> used to perform the previous search, choose 
    <menuchoice>
    <guimenu>Search</guimenu>
    <guimenuitem>Show Command</guimenuitem>
    </menuchoice>. The <guilabel>Search Command Line</guilabel> displays the command. </para>
    </sect2>
    -->
    
    <sect2 id="gsearchtool-savetofile">
    <title>保存搜索结果</title>
    <para>要保存 <application>&app;</application> 执行的上一个搜索的结果，请右击<guilabel>&ldquo;搜索结果&rdquo;</guilabel>列表，然后选择<guimenuitem>&ldquo;将结果另存为&rdquo;</guimenuitem>。 输入要保存结果的文件名，然后单击&ldquo;确定&rdquo;。</para>
    </sect2>

 
  </sect1>


</article>
