GTKtalog User's Guide - Mon Sep 24 00:40:59 CEST 2001
Prev | Chapter 8. Find a file | Next

# Extended searches

Click on the "More >>" button to access all the search options.

Specify only the options you believe will help you finding the file(s) you want. These options are not exclusive. For example, you can put a condition on the location and on the size of the file in the same search (the list are those files which match all the specified conditions).

## File name match

N/A. do not use the File name field

Exact match. only the filenames that exactly match the File name field will be in the Search results. The "foo.mp3" file name search won't match "foo.mp34" nor "afoo.mp3"

Contains. The "foo.mp3" file name search will match "foo.mp34" and "afoo.mp3"

Shell glob. In this mode wildcards are allowed. * stands for any character any number of time. ? stands for any character once. The "*foo*.mp?" search string will match "foobar.mpg", "foo.mp3", "barfoofoo.mpa" ...

Regexp. Use the power of regular expressions to match patterns on file or directories names. The preceding shell glob search would correspond to the following regexp search : ".*foo.*\.mp.$" Something more interesting could be "[[:alnum:]]* - [[:alnum:]]*.mp3$" to find all your mp3 files that are well formatted such as Artist - Song.mp3. For more information on regular expressions, see "man grep"

Case sensitive. This checkbox applies to all the File name match modes but the N/A. Check this if you do not want "foo.mp3" to match "FOo.mP3". This is upper/lower case match

## Location

Disk. Useful to restrict the search to one disk. Default is All to perform the search throught the entire catalog.

Path. This is a condition on the path column of the result list (a condition on the file or directory path). See the Section called File name match as the same rules apply.

## Date and size

Size. Check the "Bigger than" and or the "Smaller than" checkboxes to retrieve files which size are bigger and/or smaller than a given size. Don't forget to type the size in the corresponding edit box and specify the unit (bytes, kilo bytes or mega bytes). 1 Mega bytes = 1000 Kilo bytes = 1 000 000 bytes

Date. Check the "More recent than" and or the "Older than" checkboxes to retrieve files which date are newer and/or older than a given date. Don't forget to precise the dates either typing them directly or using the calendar. It is available clicking on the left down arrow of the date edit box.

Eg. To find text files bigger than 50 ko.

- Enter "*.txt" in the file name field and check that File name match is set to "Shell glob"

- check "Bigger than"

- type "50" in the edit box and select kilobytes as unit

- start the search

Search in VFS too. If checked, the search will try to match files within VFS. Default is unchecked

Display directories. If checked, the results can include matching directories. If "Search in VFS too" is checked, matching directories inside VFS will also appear.

## Description & Category

Category. restrict the search using the category field.

Description. restrict the search using the description field.

Information. restrict the search using the information field.

The matching modes of the Description and Information fields work as same as the one of the File name field.

- N/A : do not use this condition

- Exact match : description/information field must match exactly the typed text.

- Contains : description/information field must contain the typed text.

- Shell glob : Use wildcards characters * and ? to match description/information

- Regular expression : Use regular expression to build your filters on the description and/or information fields

Case match is available for the description and information field through the corresponding "Case sensitive" checkbox.

For more information on how file name match works see the Section called File name match

## Replace

These options allow you to change the description or category of files. These files are those retrieved by a search.

The search is a normal one. Use the options of the other tabs to define your search.

In the following specify only those you need. Then start the search to apply the changes.

Category. Choose a category, check the corresponding replace check box

Description. Type a description, check the corresponding replace check box

Copy the information into the description : if checked, this option overrides the Category combo and check box. For each file matching the search, GTKtalog will copy the information field in the description field.

Copy the information into the category : if checked, this option overrides the Description edit and check box. For each file matching the search, GTKtalog will copy the information field in the category field.

Prev | Home | Next
Find a file | Up | Reports