# Manual do Busca de ficheiros

Unha ferramenta de busca para atopar ficheiros, cartafoles e documentos no seu computador.

2015-2021 Proxecto de documentación do MATE
2005 Dennis Cranston
2002 2003 2004 Sun Microsystems
2000 Alexander Kirillov
Proxecto de documentación do MATE Proxecto de documentación do GNOME

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual.

Este manual forma parte da colección de manuais MATE distribuídos baixo a licenza GFDL. Se quere distribuír este manual separadamente da colección, pode facelo engadindo unha copia da licenza ao manual, tal e como está descrito na sección 6 da licenza.

Moitos dos nomes utilizados polas empresas para distinguir os seus produtos e servizos son reivindicados como marcas comerciais. Cando estes nomes aparecen en calquera documentación de MATE e os membros do Proxecto de documentación de MATE son conscientes das marcas rexistradas, os nomes están en letras maiúsculas ou maiúsculas iniciais.

O DOCUMENTO E AS VERSIÓNS MODIFICADAS DO DOCUMENTO FORNÉCENSE BAIXO OS TERMOS DA LICENZA LIBRE DE DOCUMENTACIÓN DE GNU CO ACORDO ADICIONAL DE:

1. O DOCUMENTO FORNÉCESE «TAL E COMO É», SEN GARANTÍA DE NINGÚN TIPO, NIN EXPLÍCITA NIN IMPLÍCITA INCLUÍNDO, SEN LIMITACIÓN, GARANTÍA DE QUE O DOCUMENTO OU VERSIÓN MODIFICADA DESTE CAREZA DE DEFECTOS COMERCIAIS, SEXA AXEITADO A UN FIN CONCRETO OU INCUMPRA ALGUNHA NORMATIVA. TODO O RISCO RELATIVO Á CALIDADE, PRECISIÓN E UTILIDADE DO DOCUMENTO OU A SÚA VERSIÓN MODIFICADA RECAE EN VOSTEDE. SE CALQUERA DOCUMENTO OU VERSIÓN MODIFICADA DAQUEL RESULTARA DEFECTUOSO EN CALQUERA ASPECTO, VOSTEDE (E NON O REDACTOR INICIAL, AUTOR OU COLABORADOR) ASUMIRÁ OS CUSTOS DE TODA REPARACIÓN, MANTEMENTO OU CORRECCIÓN NECESARIOS. ESTA RENUNCIA DE GARANTÍA É UNHA PARTE ESENCIAL DESTA LICENZA. NON SE AUTORIZA O USO DE NINGÚN DOCUMENTO NIN VERSIÓN MODIFICADA DESTE POLO PRESENTE, SALVO DENTRO DO CUMPRIMENTO DA RENUNCIA; E

2. BAIXO NINGUNHA CIRCUNSTANCIA NIN BAIXO NINGUNHA TEORÍA LEGAL, SEXA POR ERRO (INCLUÍNDO NEGLIXENCIA), CONTRATO OU DE ALGÚN OUTRO MODO, O AUTOR, O ESCRITOR INICIAL, CALQUERA COLABORADOR, OU CALQUERA DISTRIBUIDOR DO DOCUMENTO OU VERSIÓN MODIFICADA DO DOCUMENTO, OU CALQUERA PROVEDOR DE CALQUERA DESAS PARTES, SERÁ RESPONSÁBEL ANTE NINGUNHA PERSOA POR NINGÚN DANO DIRECTO, INDIRECTO, ESPECIAL, INCIDENTAL OU DERIVADO DE NINGÚN TIPO, INCLUÍNDO, SEN LIMITACIÓN DANOS POR PERDA DE MERCANCÍAS, PARO TÉCNICO, FALLO INFORMÁTICO OU MAL FUNCIONAMENTO OU CALQUERA OUTRO POSÍBEL DANO OU PERDAS DERIVADAS OU RELACIONADAS CO USO DO DOCUMENTO OU AS SÚAS VERSIÓNS MODIFICADAS, AÍNDA QUE DITA PARTE TEÑA SIDO INFORMADA DA POSIBILIDADE DE QUE SE PRODUCISEN DITOS DANOS.

MATE Documentation Team
Search for Files Maintainer
Dennis Cranston
Mantedor do Busca de ficheiros

    dennis_cranston@yahoo.com

Sun Equipo de documentación do GNOME
Sun Microsystems

Alexander Kirillov
Equipo de documentación do GNOME

     kirillov@math.sunysb.edu

Manual do Busca de ficheiros V1.10
xullo 2015

Wolfgang Ulbrich

Mantedor do Busca de ficheiros

Manual do Busca de ficheiros V2.7
xuño 2005

Joachim Noreiko jnoreiko@yahoo.com

Mantedor do Busca de ficheiros

Manual do Busca de ficheiros V2.6
xaneiro 2005

Dennis Cranston dennis_cranston@yahoo.com

Mantedor do Busca de ficheiros

Manual do Busca de ficheiros V2.4
febreiro 2004

Proxecto de documentación do GNOME de Sun

Proxecto de documentación do GNOME

Manual do Busca de ficheiros V2.3
setembro 2002

Proxecto de documentación do GNOME de Sun

Proxecto de documentación do GNOME

Manual do Busca de ficheiros V2.2
agosto 2002

Proxecto de documentación do GNOME de Sun

Proxecto de documentación do GNOME

Manual do Busca de ficheiros V2.1
xullo 2002

Proxecto de documentación do GNOME de Sun

Proxecto de documentación do GNOME

Manual do Busca de ficheiros V2.0
maio 2002

Proxecto de documentación do GNOME de Sun

Proxecto de documentación do GNOME

Manual do Busca de ficheiros
2000

Alexander Kirillov kirillov@math.sunysb.edu

Proxecto de documentación do GNOME

Este manual describe a versión 1.10 do Busca de ficheiros.

Comentarios

To report a bug or make a suggestion regarding the Search for Files application or this manual, follow the directions in the MATE Feedback Page.

## Introdución

The Search for Files application enables you to search for files on your system. To perform a basic search, you can type a filename or a partial filename, with or without wildcards. To refine your search, you can apply additional search options.

Search for Files uses the `find`, `grep`, and `locate` UNIX commands. By default, when performing a basic search Search for Files first uses the `locate` command, and then uses the slower but more thorough `find` command.

The case sensitivity of the search depends on your operating system. For example, on Linux, the `find`, `grep`, and `locate` commands support the `-i` option, so all searches are case-insensitive.

## Comezando

You can start Search for Files in the following ways:

From a Menu Bar on a panel

  Choose Places Search for Files...

From a Main Menu on a panel

  Choose Search for Files...

From a command line

  Execute the following command: `mate-search-tool`

When you start Search for Files, the following window is displayed.

Search for Files Window

Shows Search for Files main window.

## Uso

### To Perform a Basic Search

To perform a basic search for a file on the system, perform the following steps:

1. Enter the search text in the Name contains field. The search text can be a filename or partial filename, with or without wildcards, as shown in the following table:

   Name Contains Text | Exemplo | Resultado
   --- | --- | ---
   Full or partial filename | `omeuficheiro.txt` | Search for Files searches for all files that contain the text `myfile.txt` in the filename.
   Partial filename combined with wildcards (*, [, ]) | `*.[ch]` | Search for Files searches for all files that have extension `.c` or `.h`.

2. In the Look in folder field, select the folder or device from which you want Search for Files to begin the search.

3. Click Find to perform the search.

Search for Files searches in the directory that you specify and the subdirectories of the directory. Search for Files displays the results of the search in the Search results list box. If Search for Files does not find any files that match the search criteria, the application displays the message "No files found" in the Search results list box.

By default, Search for Files will perform a quick search using the `locate` command followed by a more thorough second search using the `find` command. The `locate` command is faster because it uses a database of information about files. If this database is more than a week old, Search for Files could warn you that the search results may be out of date and give you the option of disabling the quick search. To update the database, run the command `updatedb` as the root user.

### To Add Search Options

You can add additional options to search for a file on the system. To add search options, perform the following steps:

1. Click on the Select more options text.

2. Click on the Available options drop-down list.

3. Seleccione a opción de busca que quere aplicar.

4. Prema en Engadir.

5. Specify the required search information for the search option, as described in .

6. Repita os pasos anteriores para cada opción de busca que queira aplicar.

To remove a search option from the current search, click on the Remove button next to the option.

To disable the search options from the current search, click on the Select more options text.

Opcións de busca

Nome da opción | Descrición
--- | ---
Contén o texto | Busque ficheiros de tipo texto sinxelo que conteñan o texto especificado.
Data de modificación anterior a | Busca ficheiros modificados antes do período especificado en días.
Data de modificación posterior a | Busca ficheiros modificados após o período especificado en días.
Tamaño mínimo | Search for files that are equal to or larger than the size specified in kilobytes.
Size at most | Search for files that are smaller than or equal to the size specified in kilobytes.
O ficheiro está baleiro | Search for empty files.
Owned by user | Search for files that are owned by the user specified. Type the name of the user in the text box provided.
Owned by group | Search for files that are owned by the group specified. Type the name of the group in the text box provided.
Non se recoñece o propietario | Search for files that are owned by a user or group that is unknown to the system.
Name does not contain | Search for filenames that do not contain the string that you enter. Enter a full filename or a partial filename with wildcards in the field provided. Use * to indicate a sequence of characters. Use ? to indicate a single character. The search is case-sensitive.
Name matches regular expression | Search for files that contain the specified regular expression in their directory path or filename. Type the regular expression in the text box provided.
Amosar os ficheiros agochados e as copias de seguridade | Include hidden and backup files in the search.
Seguir as ligazóns simbólicas | Follow symbolic links when searching for files.
Excluír outros sistemas de ficheiros | Search in directories that are in the same filesystem as the start directory.

### To Stop a Search

Click Stop to stop a search before Search for Files completes the search.

### To Open a Displayed File

To open a file displayed in the Search results list box, perform one of the following steps:

- Right-click on the file, then choose Open.

- Double-click on the file.

To open the folder that contains a file displayed in the Search results list box, right-click on the file, then choose Open Containing Folder.

### To Delete a Displayed File

To delete a file displayed in the Search results list box, right-click on the file, then choose Move to Trash.

### To Save the Search Results

To save the results of the last search that Search for Files performed, right-click in the Search results list, then choose Save Results As. Enter the name of the file to which you want to save the results, then click Save.

## Axustes

Search for Files provides gsettings keys to modify some of its behavior. The gsettings values can be changed by starting the Configuration Editor in the following ways:

Menú de aplicacións

  Choose System Tools dconf Editor.

Liña de ordes

  Execute the following command: `dconf-editor`

### Desactivar a busca rápida

Key name: org.mate.search-tool.disable-quick-search

Default value: false

Search for Files speeds up file name searches by using the `locate` command. `Locate` provides a secure way to index and quickly search for file names. Because `locate` relies on a file index, the Search results list may not always be up to date.

### Desactivar a segunda análise da busca rápida

Key name: org.mate.search-tool.disable-quick-search-second-scan

Default value: false

After completing a quick search, Search for Files will perform a thorough search using the `find` command. The purpose of this second scan is to find files that have not been indexed. Files that match the search criteria are added to the Search results list keeping the list up to date.

### Rutas excluídas da busca rápida

Key name: org.mate.search-tool.quick-search-excluded-paths

Default values: [/mnt/*,/media/*,/dev/*,/tmp/*,/proc/*,/var/*]

Search for Files will not perform a quick search for paths defined by this key. File name searches in the defined paths will use the `find` command. The wildcards '*' and '?' are supported.

### Rutas excluídas da segunda análise da busca rápida

Key name: org.mate.search-tool.quick-search-second-scan-excluded-paths

Default values: [/]

Search for Files will not perform a second scan after a quick search for the paths defined by this key. Quick searches in the defined paths will not be followed by a thorough search using the `find` command. The wildcards '*' and '?' are supported.

### Amosar as opcións adicionais

Key name: org.mate.search-tool.show-additional-options

Default value: false

This key determines if the Select more options section is expanded when Search for Files is started.

Ferramenta de busca