Exclude any folder in sync mode

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Exclude any folder in sync mode

Post 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\
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Exclude subfolders with spaces
This actually works...
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Edit: Confirmed: It works like this

Code: Select all

|"this folder\"
Is the rest feasible?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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...
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

So the syntax should be ok.

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