Exclude Fails to Work

Get help for specific problems
Posts: 12
Joined: 18 Mar 2020

sro

Excluding "C:\Users\...\AppData\Local\Microsoft\..." does not work. How do I get this to work or how do I get the error message eliminated?
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

As clearly stated in the FFS Manual page on File Exclusion, first bullet, Include and Exclude item entries must be relative to the left and right base directories.
You are using an absolute location.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Best way for filter setup is to run a compare, find what you want to exclude in the results, and then right-click it to filter for your needs. Syntax is guaranteed to work
Posts: 12
Joined: 18 Mar 2020

sro

OK.... But a logical and rational methodology would be far more useful and usable. EXCLUDE and INCLUDE should be in reference to the source folder/directory. However, I will try the right-click method and hope it works as described. Thanks.
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

> EXCLUDE and INCLUDE should be in reference to the source folder/directory.
That may make sense for a Mirror or Update sync where there is a clear source folder, but obviously very much not so for Two-way or Custom syncs. And having two different ways of specifying In- and Excludes, depending on the sync variant being run, makes even less sense.

So, it is more logical and rational, and at least as useful and useable, to use the method used presently in FFS.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

"Full path to relative path" detection and conversion has been added for the next FFS release: viewtopic.php?t=9225#p34808