Page File filters

On the page you can exclude files from a comparison/synchronization. File filter is actual for all of the folder pairs. You can filter files by a name mask(filespec), by a modified date, by a size and by attributes.

Filtering by a name mask (filespec)

If you want to include files with only a specific name, simply type a file mask in Use include file filters line. For example, the mask *books* limits the files involved into comparison to files which have the word books in their name.

If you want to exclude some files with a specific name you need:

  • set check Use exclude file filters
  • type a name mask in the Use exclude file filters line.
    For example, the mask *Finance* excludes all the files which have in their name the word Finance.

    You can use include and exclude file name masks together. For example, include mask *books*, and exclude mask *Finance* and it allows you involve in comparison only files which have the word books, but do not contain the word Finance in their name.

    File mask (filespec) can contain special symbols:

    SymbolDescription
    *In file name of this place can be any number of any characters.
    ?In file name of this place should be a single character.
    ;This symbol separates filter parts.


    For example, there are three files in the comparing folders: air.exe, air.com, water.exe.

    OperationTaskImplementationFiles in the table
    ANDFile name must begin with the letter "A" AND must end with the letter "E"Include: a*eair.exe
    ORFile name must begin with the letter "A" OR must end with the letter "E"Include: a*; *eair.com, water.exe
    NOTFile name should NOT begin with the letter "A"Exclude: a*water.exe
    Ex #1Shows all files which have names length of seven charactersInclude: ???????air.exe, air.com
    Ex #2Shows all files which names end with the "EXE" but do NOT begin with the letter "A"Include: *exe
    Exclude: a*
    water.exe


    Filters rules:

  • Filter can contain any numbers of filters parts. Filters parts separated by ";".
  • Filters parts concatenated by OR.
  • Filters part "*.*" It means including all files. It doesn't matter, it contains a file "." or not.
  • Any numbers of "*" or any numbers of spaces will be considered as "*.*".
  • Exclude filter like "*.*" shows all files.
  • File name like readme.txt contains a dot, but this dot doesn't appear in the preview table. The filter like readme?txt shows file readme.txt and doesn't show the file readme1.txt.

    Filtering by a modified date, size, and attributes

    To use the filter you must set an appropriate check on a Date filter, a Size filter or a Attr filter and set filter parameters. These parameters are described in the table below.

    FieldDescription
    Date filterThis group allows to filter out files by the last modified file date.
       Older than A This field allows to specify a file date range for filtering. The file date range filter makes visible those files which the last modified date is older than the given date range.
       Newer than A This field allows to specify a file date range for filtering. The file date range filter makes visible those files which the last modified date is newer than the given date range.
       Between A and B These two fields allow to specify a file date range for filtering. The file date range filter makes visible those files which the last modified date is between the given date range.
       Beyond A and B These two fields allow to specify a file date range for filtering. The file date range filter makes visible those files which the last modified date is beyond the given date range.
       <0>Sets time to zero (00:00:00).
       Set currentInserts the current date and time.
     
    Size filterThis group allows to filter out files by a file size.
       More than A This field allows to specify a file size range for filtering. The file size range filter makes visible those files which sizes are more than the given size range.
       Less than A This field allows to specify a file size range for filtering. The file size range filter makes visible those files which sizes are less than the given size range.
       Between A and B These two fields allow to specify a file size range for filtering. The file size range filter makes visible those files which sizes are between the given size range.
       Beyond A and B These two fields allow to specify a file size range for filtering. The file size range filter makes visible those files which sizes are beyond the given size range.
     
    Attr filterThis group allows to filter out files by file attributes.


    You can save the whole file filter as predefined in order to use it for other jobs. To save the file filter click the button Save filter on the toolbar.

    ButtonDescription
    Saves the current filter as predefined in the Save file filter window.
    Sets the predefined file filter and fill fields with values of the predefined file filter.
    Deletes the selected predefined file filter from the list.
    Changes caption of the selected predefined file filter in the Rename file filter window.
    Moves selection in the predefined file filter list to one item up.
    Moves selection in the predefined file filter list to one item down.


    See also:
       Page Job settings
       Page Comparing folders
       Page Folder filters
       Page Synchronize methods
       Page Comparison rules
       Page Scheduling
       Page Log settings
       Page E-mail notifications