Filtering Folders

<< Click to Display Table of Contents >>

Navigation:  Peer Management Center Help > Preferences > Configuring File Filters >

Filtering Folders

In addition to filtering on files, you can filter on folders using the following syntax: \Folder or \Folder* or \Folder\*

Presently, Peer Management Center only supports included expressions for a full folder path and does not support wildcard matching on parent paths. For example, the following expression is not valid: \Folder*\Folder

Reduce the Number of Jobs Using Folder Filtering

For management purposes, we recommend keeping the total number of jobs as low as possible, preferably to no more than ten. Using folder filters, you can reduce the total number of jobs without sacrificing efficiency. This process involves analyzing all existing jobs, identifying all the folders and hosts that will be collaborating, and consolidating them into fewer jobs by watching a few root folders at a higher level. Filters will then be added to include or exclude only the folders of interest. Here is a small example that demonstrates this concept:

Example:

Reduce existing jobs down to two:

 

 

Server 1

Server 2

 

 

Drive D

Drive E

Drive D

Drive F

Old

Jobs

Job 1

D:\General

 

D:\General

 

Job 2

 

E:\Common

 

F:\Common

 

Job 3

D:\Projects

 

D:\Projects

 

 

Job 4

 

E:\Documents

 

F:\Documents

After consolidation:

 

 

 

Filter Option 1

Filter Option 2

 

 

Server 1

Server 2

INCLUDE

EXCLUDE

New

Jobs

Job 1

D:\

D:\

\General\*

All other files

 

 

 

\Projects\*

 

 

Job 2

E:\

F:\

\Common\*

All other files

 


 

 

\Documents\*

 

Jobs 1 and 3 were merged into a single job watching the root D drive on both servers while using Filter Option 1 or 2.

Jobs 2 and 4 were merged into a single job watching the root E drive on Server 1 and the root F drive on Server 2 while using Filter Option 1 or 2.

Please note the following regarding regular expressions:

Peer Management Center does not support the ability to use Regular Expressions for multi-level folder inclusions such as \Level1\Level2\FolderName.

Peer Management Center does not currently support the ability to filter on certain parts of a path, like \Folder\*\Folder and \Folder*\.

Additional Folder Filter Examples

To exclude a specific folder from anywhere within the watch set:

*\FolderName

*\FolderName\FolderName

To exclude a specific folder from the ROOT of the watch set:

\FolderName

\FolderName\FolderName

To exclude folders that END with a specific name from anywhere within the watch set:

*FolderName\

To include a specific folder from the ROOT of the watch set:

\FolderName

\FolderName\FolderName