Skip to end of banner
Go to start of banner

Excluding files or directories

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Excluding files or directories is done per folder and allows the user to prevent certain files or directories to be synced to other clients. This operation also affects the sync percentage, so excluded files are not counted there.

Overview:

Excluding files or directories editing the exclusion list

To exclude files or directories from the sync of a certain folder:
  1. Enable the Expert Mode.
  2. Click on the folder in question in the main window.
  3. In the right pane which opens up, please click on the Settings tab.
  4. To add an exclusion click on the plus symbol below the exclusion list.
  5. Enter the file or directory to exclude. A list of examples can be found below in this article.
    (info) The exclusions patterns on the exclusion list is case-insensitive, means the client doesn't care if an exclusion contains upper- or lower-case characters. 
  6. Click on OK.
  7. (tick) Done. The file/directory is now excluded from the synchronization.

 

Excluding files and directories on Windows-based operating systems

Windows uses the '\' (backslash) character to separate paths. Our client internally converts them into cross-platform-compatible '/' (slash) characters. It will correctly exclude files and path that contain backslashes and/or normal slashes. However the exclusion list in the user interface will always display a '/', even on Windows systems.

 

Examples for exclusion patterns

Exclude the file nosync.txt:

nosync.txt

Exclude all files starting with nosync:

*nosync*

Exclude all files containing the word nosync:

nosync*

Exclude all files with a .png extension in ALL sub-directories:

*/*.png

Exclude all files with a .png extension in the folder's root directory only:

*.png

Exclude all files in the sub-directory nosync:

nosync/*

Exclude all files in ANY sub-directory called nosync:

*/nosync/*

 

Excluding files or directories using the internal file browser

To exclude a file or directory using the context menu in the internal file browser:

  1. Click on the folder where the file/directory you want exclude resides in.
  2. In the right pane, the file browser, browse to the directory where the file/directory to exclude resides in.
  3. Right-click the file and click on Exclude.
  4. (tick) Done. The file/directory is now excluded from the synchronization.

 

Excluding files or directories using the exclusion file

Each directory in the filesystem, which is managed by the client, includes a hidden directory flagged as system directory, which is called .PowerFolder. In this directory the client stores meta-data as well as the file archive and the exclusion list for the folder.
To exclude a file or directory from sync using the exclusion file:
  1. Enable your favorite file browser to show hidden files and folders as well as protected/hidden operating system files and folders.
  2. Go to the folder managed by the client using the file browser.
  3. Go to the sub-directory .PowerFolder.
  4. Open the file ignore.patterns inside of the above mentioned directory using your favorite text editor.
  5. Add the exclusion patterns in the same way as described above, when using the user interface to add an exclusion. Use a new line for each exclusion pattern.
  6. Save the ignore.patterns file.
  7. (tick) Done. The file/directory is now excluded from the synchronization.

 

  • No labels