sync empty directorys -> excluded directorys are listed

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

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

sync empty directorys -> excluded directorys are listed

Post by *Samuel »

Just sync between "c:\a" and "c:\b" and exclude the subfolder "c" by using the filter "|c\".

When the subfolder "c" is only in one of the folders it is shown as sync item in the list. Any content of "c" is not shown as expected.

Or is this by design?

By the way something like excluding subsubfolders would be really nice:
"|c\d\"
-> this would exclude content of folder "c\d\" but not the other subfolders in "c"

Just great would be something like being able to compare multiple Folders:
"c:\a1;c:\a2;c:\a3" with "c:\b1;c:\b2;c:\b3"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Currently the sync function behaves the same as the search function. For example, if you search for
|c\
in the search function, TC will find folders named "c", but not look into them for files.

However, it could make sense to change this in synchronize dirs. I will consider it.
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: sync empty directorys -> excluded directorys are list

Post by *Samuel »

Samuel wrote:By the way something like excluding subsubfolders would be really nice:
"|c\d"
-> this would exclude content of folder "c\d" but not the other subfolders in "c"

Just great would be something like being able to compare multiple Folders:
"c:\a1;c:\a2;c:\a3" with "c:\b1;c:\b2;c:\b3"
Could I have a comment to this?
Is it hard to implement?

Currently I have to sync a folder structure like:

Code: Select all

e:\work
e:\stuff
e:\fun
e:\fun\games <- should not be syncronised
I have to do it in 2 passes:
First pass "e:" with "g:\backup" excluding "|fun"
Second pass "e:\fun" with "g:\backup\fun" excluding "|games"
This is annoying.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I don't currently see a way to add this in a logical way. The subdirs checker currently compares the names relative to the current directory, which means that if you write e.g. |c\ , it means that all directories named "c" will be excluded, independent from where they appear in the search tree. with nested dirs such checks wouldn't be as logical.
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

As described in first post, I see 2 ways:
1. Make it possible to sync more than one folder.
First folder on the left is compared to first folder on the right.
Second folder on the left is compared to second folder on the right.
...

Every folder has exactly one counterpart. The folders could be separated by a semicolon. I dont see difficultys here.


2. Make it available to exclude a whole path. (like it is handled in the ignore list)
Exclude it with

Code: Select all

|C:\Folder1\Folder2\

and

|"C:\Folder with spaces\Folder2\"
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Confirmed bugfix, :D
Suggestions not included :(

Big thanks anyway.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for confirming the fix!

Please write your suggestion in the suggestions forum. Please try to describe how it should work so there are no conflicts with current behaviour.
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Post Reply