Exclude subdirectories

Get help for specific problems
Posts: 2
Joined: 23 Oct 2012

timr13

I am using FreeFileSync to sync a complete server drive to an external hard drive and I want to exclude a complete directory including all directories and files within it. I have tried adding a filter (the filter for the folder pair not the one at the bottom):

[source drive]:\data\_archived items\

but folders within the "_archived" items" folder still get copied. I then tried adding:


[source drive]:\data\_archived items\*
[source drive]:\data\_archived items\*\*
[source drive]:\data\_archived items\*\*\*

etc

but the folders still get synced - what am I doing wrong?
Posts: 2
Joined: 23 Oct 2012

timr13

Sorry but I didn't understand the forum formatting rules. The exclusions I set up are:

Drive letter: path backslash asterisk and backslash asterisk backslash asterisk, etc
User avatar
Site Admin
Posts: 7051
Joined: 9 Dec 2007

Zenju

The filter path needs to be relative to synchronization base directories. See the help file on "exclude items" for details. Shortcut: right-click on an item on main grid and exclude it, then look at the filter syntax this action has generated.