Page 1 of 1

Exclude any folder in sync mode

Posted: 2009-04-30, 17:27 UTC
by Samuel
Exclude any folder in sync mode would be really nice. Currently you can exclude subfolders like that: ' |exclude\ '

But its not supported to exclude subfolders with spaces and its also not supported to exclude a whole path.
ghisler(Author) wrote:Please write your suggestion in the suggestions forum. Please try to describe how it should work so there are no conflicts with current behaviour.
(Topic was discussed first here.)

I would suggest:
Current behavior (without quotes) for subfolders without spaces.

Code: Select all

|exclude\
otherwise use always quotes.

Exclude Path:

Code: Select all

|"C:\exclude\this path"
Exclude subfolders with spaces:

Code: Select all

|"exclude this folder"
Exclude a subsubfolder:

Code: Select all

|"exclude\subsubfolder"\
Multiple excludes:

Code: Select all

|"C:\exclude\this path" "C:\and\this one\too" "exclude this" *.bak folder\

Posted: 2009-04-30, 20:26 UTC
by ghisler(Author)
Exclude subfolders with spaces
This actually works...

Posted: 2009-04-30, 20:29 UTC
by Samuel
Edit: Confirmed: It works like this

Code: Select all

|"this folder\"
Is the rest feasible?

Posted: 2009-04-30, 20:37 UTC
by ghisler(Author)
Difficult to say - when I tried to add it a few days ago I had to postpone it because the current implementation passes only the last part of the path to the function...

Posted: 2009-04-30, 20:44 UTC
by Samuel
So the syntax should be ok.

Thanks for considering it.
I would be glad to see it.