To exclude a particular file, add the file name to the exclusion list. Example: MyFile.txt
To exclude a directory within a folder, add the relative directory name to the exclusion list followed by /*. Example: my_folder/*
Also, files and directories can be added directly to the list from the Files tab by right-clicking on the file / directory and selecting 'Add to ignore patterns' from the popup menu.
Pattern matching is not case sensitive.
Partial matching can be performed using the * character, which will match any number of characters within the name. For example My*File* will match any of the following:
- MyFile
- MyFirstFile
- MyFile.txt
- MyOtherFileName
- mylowercasefile
Examples
Exclude all PNG files in ALL subdirectories
Pattern: */*.png
Exclude all PNG files in main directory only
Pattern: *.png
Exclude all files of subdirectory nosync
Pattern: nosync/*
Exclude all files in any subdirectory nosync
Pattern: */nosync/*
Note for Windows users
Windows uses the '\' (backslash) character to separate paths. PowerFolder internally converts them into cross platfrom compatible '/' (forward slash). It will correctly exclude files and path that contain backslashes and/or forward slashes. However the ignore pattern list under settings will alway show '/' only even on Windows systems.
Related files
The exclude patterns of each folder are kept in a file called "ignore.patterns" in the hidden/system subdirectory ".PowerFolder".
You can manually edit this file and/or copy defaults to it. Make sure to restart the client afterwards.