Here are a few examples of exclusions, followed by an explanation of each.
Absolute file exclusions
Exclusion rule: /mydir/*.exe
Type: Absolute location
This will exclude all .exe files in the mydir remote directory, but the path is taken from the root of the remote system.
Exclusion rule: c:\mydir\*.exe
Type: Absolute location
This will exclude all .exe files in the c:\mydir local directory.
Exclusion rule: /mydir/nextdir/myfil?.*
Type: Absolute location
This will exclude any file beginning with myfil with one arbitrary character and any extension in the directory /mydir/nextdir.
Absolute directory exclusion
Exclusion rule: /m?dir
Type: Absolute location
This will exclude all directories that match the mask m?dir, but the path is taken from the root of the file system. The ? is a substitute for any single character.
Exclusion rule: c:\m?dir
Type: Absolute location
This will exclude all directories on the c: drive that match the mask m?dir. The ? is a substitute for any single character.
Relative directory exclusions
Exclusion rule: mydir
Type: Apply to folders
This will exclude any directory named mydir anywhere in the file system.
Exclusion rule: m*ir
Type: Apply to folders
This will exclude any directory that matches the mask m*ir from anywhere in the file system. The * means that the name can have any number and value of character in between the "m" and the "ir."
Relative file exclusion
Exclusion rule: mydir\*.exe
Type: Apply to files
This will exclude any .exe files in any directory named mydir anywhere in the file system.
Relative file/folder exclusion
Exclusion rule: ~*
Type: Apply to both
This will exclude any file or folder starting with the ~ character, anywhere in the file system.