Hello,
I would like to exclude everything in AppData except some files/subfolders.
I tried it with the following Rule:
Include:
*
\Roaming\Microsoft\Outlook\*
exclude:
\Roaming\
\Local\
\LocalLow\
Nothing is synced. Why?
Filter
- Posts: 31
- Joined: 17 Jul 2019
- Posts: 4056
- Joined: 11 Jun 2019
You're excluding all three main AppData folders
- Posts: 31
- Joined: 17 Jul 2019
Yes, exactly I would like to exclude everything in AppData except
\Roaming\Microsoft\Outlook\*
like explained in the manual:
Example: Exclude a sub folder except for certain files
Set up two folder pairs with the same source and target paths but with distinct local filters:
Folder pair 1; local exclude filter: \SubFolder\
Folder pair 2; local include filter: \SubFolder\*.txt
\Roaming\Microsoft\Outlook\*
like explained in the manual:
Example: Exclude a sub folder except for certain files
Set up two folder pairs with the same source and target paths but with distinct local filters:
Folder pair 1; local exclude filter: \SubFolder\
Folder pair 2; local include filter: \SubFolder\*.txt
- Posts: 5
- Joined: 27 Aug 2016
Hi, Do these filter rules do what you want?
As I understand it FFS builds a list of files first from the include rules, and then removes any files matching the exclude rules. So you can delete the '*' wildcard and specify just the subfolders you want, with no need to explicitly exclude any unwanted parent folders.
Include:
\Roaming\Microsoft\Outlook
Exclude:
As I understand it FFS builds a list of files first from the include rules, and then removes any files matching the exclude rules. So you can delete the '*' wildcard and specify just the subfolders you want, with no need to explicitly exclude any unwanted parent folders.
Include:
\Roaming\Microsoft\Outlook
Exclude:
- Posts: 2451
- Joined: 22 Aug 2012
You (thbenner) do not make your intentions very clear .
If the only thing you want to sync is everything in C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\, you can simply define your left base location as that, and select/define a corresponding right location.
Everything else in AppData is then automatically not synced.
However, if you want to sync everything in C:\Users\[User], but do not want to sync anything in AppData except in C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\, then you need to follow the example in the manual (as you seem to suggest to be doing), but then do it correctly.
Define two pairs,
the first pair having a left location C:\Users\[User] and a corresponding right location, in which you use the default local Include Filter (*) and define a local Exclude Filter \AppData\
(this should sync anything in C:\Users\[User], except anything in AppData)
the second left-right pair having the same left and right location as the first pair, for which you define a local Include Filter of \Appdata\Roaming\Microsoft\Outlook\* and an empty or default local Exclude Filter.
(This should sync anything in ...\Microsoft\Outlook\)
You can define local (left-right pair specific) filter settings via the funnel-icon
in between each left-right pair.
Slightly beyond the manual, in above example alternatively you may define two pairs,
the first pair having a left location C:\Users\[User] and a corresponding right location, in which you use the default global Include Filter (*) and define a global Exclude Filter \AppData\
(this should sync anything in C:\Users\[User], except anything in AppData)
the second pair having a left location C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\ and a corresponding right location.
(This should sync anything in ...\Microsoft\Outlook\)
As there is no AppData folder inside ...\Microsoft\Outlook\, the global Exclude Filter setting will not exclude said Outlook folder.
If the only thing you want to sync is everything in C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\, you can simply define your left base location as that, and select/define a corresponding right location.
Everything else in AppData is then automatically not synced.
However, if you want to sync everything in C:\Users\[User], but do not want to sync anything in AppData except in C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\, then you need to follow the example in the manual (as you seem to suggest to be doing), but then do it correctly.
Define two pairs,
the first pair having a left location C:\Users\[User] and a corresponding right location, in which you use the default local Include Filter (*) and define a local Exclude Filter \AppData\
(this should sync anything in C:\Users\[User], except anything in AppData)
the second left-right pair having the same left and right location as the first pair, for which you define a local Include Filter of \Appdata\Roaming\Microsoft\Outlook\* and an empty or default local Exclude Filter.
(This should sync anything in ...\Microsoft\Outlook\)
You can define local (left-right pair specific) filter settings via the funnel-icon
in between each left-right pair.
Slightly beyond the manual, in above example alternatively you may define two pairs,
the first pair having a left location C:\Users\[User] and a corresponding right location, in which you use the default global Include Filter (*) and define a global Exclude Filter \AppData\
(this should sync anything in C:\Users\[User], except anything in AppData)
the second pair having a left location C:\Users\[User]\Appdata\Roaming\Microsoft\Outlook\ and a corresponding right location.
(This should sync anything in ...\Microsoft\Outlook\)
As there is no AppData folder inside ...\Microsoft\Outlook\, the global Exclude Filter setting will not exclude said Outlook folder.