Sync Dirs doesn't show Empty dirs in some cases
Moderators: Hacker, petermad, Stefan2, white
Sync Dirs doesn't show Empty dirs in some cases
1. Create following directory tree:
c:\Test1\1\
c:\Test2\1\
2. Go to c:\Test1\1\ in left panel and in c:\Test2\1\ in right.
3. Call Sync dirs, check "Empty directories" and press "=" aka "Equal files" button. Press compare -> nothing will shown.
Although the "1\" dirs in left and right panel are not "equal files", there are "equal directories" and it would be logical to show the "1\" dir as a result of comparing.
c:\Test1\1\
c:\Test2\1\
2. Go to c:\Test1\1\ in left panel and in c:\Test2\1\ in right.
3. Call Sync dirs, check "Empty directories" and press "=" aka "Equal files" button. Press compare -> nothing will shown.
Although the "1\" dirs in left and right panel are not "equal files", there are "equal directories" and it would be logical to show the "1\" dir as a result of comparing.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Do you mean to go to c:\Test1 and c:\Test2 in step 2?
If yes, the behaviour is by design. Empty directories will be shown only when present on only one side.
If yes, the behaviour is by design. Empty directories will be shown only when present on only one side.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes.ghisler(Author) wrote:Do you mean to go to c:\Test1 and c:\Test2 in step 2?
I don't agree with that designghisler(Author) wrote:If yes, the behaviour is by design. Empty directories will be shown only when present on only one side.

For example, Sync Dirs have a useful feature "Delete on both sides". With the same emty dirs shown I would able easy to select & delete empty dirs on both sides.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, this would overload the dialog with many empty folders when nothing has changed. I will therefore not change the current behaviour.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC 7.55 is now in release candidate state, so no new features at this time (or the beta test would go on forever). However, I have put this suggestion on my wish list, so I may be adding it to a future version.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com