Built-in File Searching
Top  Previous  Next


What is the purpose of this function?

The File Searching function is to convert lots of files located in a folder-tree. For example, you may use the search function to find out all HTML-based files inside a folder. Then, let Unifier to convert them.

Overview

The File Searching Function is a modeless dialog box. You may specify Include Filter and Exclude Filter to search files inside a folder. You may also save the setting so that you may re-use it easily.

   filesearch1

Include Filter and Exclude Filter

The Exclude Filter overrides the Include Filter. If a filename matches both filter, the file would not be found. You may use wildcard character
* and ? to specify the filters. Use | character to separate different filters.

For example,


*.htm|*.html|*.php
Match all files with htm, html or php file extensions

S?.txt
Match the following files: s1.txt sa.txt ss.txt


For more advanced matching, you may use Regular Expression to specify the filter.

Preserve folder structure

If you enable Preserve folder strucuture and you select Ouput to a folder as the output mode, Unifier would preserve the folder tree structure when it creates converted files.

To illustrate this function, assume your have a folder called
website. Under the folder, there are few subfolders as shown in the figure below. Now, you want to convert all these html files and save the result to d:\website_unicode.

   clip0006
The following is the procedure:

1) Select Search Files from Tools menu.

2) Fill-in the dialog box as shown below. Make sure you have enabled Search subfolders and Preserve folder structure.

   filesearch6

3) Click the Search button. Unifier will find out all these html files.

   filesearch7

4) Click Add to Source File List button. Then, close the dialog box

5) Configure all conversion options on the main window

6) Set Output Options to Ouput to a folder. Then, enter
d:\website_unicode to the textbox.

   clip0010

7) Create the folder
d:\website_unicode. Click Convert button to start the conversion.

The figure below shows the result after conversion. The entire folder tree is preserved inside
website_unicode folder.
   clip0008

Saved Search

You may save the commonly used search criteria by clicking the Save Button.

   filesearch4

After that, you need to give the search criteria a name. Every time you select the saved search, all saved setting are restored.

   filesearch5