Top: English
Darunter: Deutsch
Info about File Filtering on TeamDrive
When editing the TeamDrive filter file it is important that you use a standard text editor. We recommend using TextEdit (OS X) or NotePad (Windows).
WordPad (Windows), for instance, will add text formatting which could possibly cause disruptions when applying the filter.
When saving the file it is important to save it as a UTF-8 encoded file and to not add a ".txt" extension:
On Windows these options can be found during the "save as" process. Under 'Save as type' select 'All Files'.
Under 'Encoding' select UTF-8
On OS X these options can be found under the preferences pane. Uncheck the box "Add '.txt' extension to plain text files".
One the "Open and Save" tab and under the section "Plain Text File Encoding" > "Saving Files" select "Unicode (UTF-8).
"teamdrive.fsfilter" is the standard filter file. The file can be found in
the "user shared path":
Windows: "C:/ProgramData/TeamDrive/"
(If the 'ProgramData' folder is not visible, search for the folder using,
"%programdata%")
On Windows XP there is, however, no shortcut to this folder. You have to manually navigate to this folder. The folder is also hidden. C:/Documents and Settings/All Users/ApplicationData/TeamDrive. You can enable hidden folders in the "Folder Options" settings. This can be found in the "Control Panel". Start > Settings > Control Panel > Folder Options > View > Hidden files and folders > Show hidden files, folders and drives.
Linux: "/etc/"
Mac OS X: "/Users/Shared/"
If the "teamdrive.fsfilter" has been moved from its default location,
the new location of the file needs to be defined in the "teamdrive.ini" file.
The "teamdrive.ini" file can also be found in the "user shared path".
To define the new location of the "teamdrive.fsfilter" file use:
fs-filter-file=<Path><Name>
The filter functions are based on Wildcard Matching.
(the ability to identify a group of files by using wildcards)
Any character represents itself apart from those mentioned below. Thus c matches the character c.
?: Matches any single character. It is the same as . in full regexps.
*: Matches zero or more of any characters. It is the same as .* in full regexps.
[...]: Sets of characters can be represented in square brackets, similar to full regexps. Within the character class, like outside, the backslash has no special meaning.
#: Denotes that everything follwing is treated as a comment.
Examples:
Filtering Data
#Filter all "newname.txt" files
*/newname.txt
Filtering based on file ending
#Filter all ".lock" files
*.lock
Filtering Sub-Folders
#Filter Contents of Folders
#ignore 'newfolder' folders and files
*/newfolder
*/newfolder/*
To filter contents of folders, 2 filter expressions have to be written.
The first filter excludes all folders called "newfolder".
The second filter excludes all the contents of folders called "newfolder".