Solaris Common Desktop Environment: User's Guide

Finding a File by File Properties

The previous procedures explained how to search for a file or folder by specifying a name, and how to search for a file by specifying some of its contents. You can also specify the following object properties as search criteria:

By default, File Finder displays only the line for specifying name criteria. By clicking More Criteria, you can display lines for other criteria.

Figure 5-3 File Finder With All Search Criteria Displayed

Graphic

To Find a File by File Properties
  1. Open File Finder.

    File Finder opens with the default display and settings.

  2. Click More Criteria to display the More Criteria dialog box.

  3. Select the check boxes for the criteria that you intend specifying in your search.

    File Finder updates the Find dialog box to contain a line for specifying each of the selected criteria.

  4. (Optional) Specify the folder to be searched, the name of the file or folder, and the contents of the required file using the instructions in "To Find a File or Folder by Name" and "To Find a File by Contents".

  5. Specify criteria relating to the properties of the file or folder on the lines provided.

    Each line of constraints will be evaluated as described above. If you use more than one set of criteria, File Finder will return only objects that satisfy all of the search criteria.

  6. When you are satisfied with the criteria you have entered, click Find.

    File Finder searches the specified folders and subfolders, and returns a list of the files and folders that match all of the specified search criteria. You can stop the search at any time by clicking Stop.


    Tip -

    If too many files are returned, you can specify more restrictive criteria and try again.