Folding subdirectories in Synchronize tool

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
browny
Senior Member
Senior Member
Posts: 396
Joined: 2007-09-10, 13:19 UTC

Folding subdirectories in Synchronize tool

Post by *browny »

The task is to compare two directory trees with source files, where one or both sides have additional subdirectories with object/executable/temporary/etc files.
It would be convenient to be able to fold those additional blocks of files. For example, hide Application\Win32\Debug.

Possibly, this could be done with additional buttons(s) on directory dividers.
Option 1. Fold/unfold each block individually.
Option 2. Fold/unfold the whole subdirectory tree.
Option 3. Both Option 1 and Option 2, hence two buttons would be needed.

For moderate numbers of files and directories Options 1 should be sufficient, and maybe relatively simple to implement.
JOUBE
Power Member
Power Member
Posts: 1739
Joined: 2004-07-08, 08:58 UTC

Re: Folding subdirectories in Synchronize tool

Post by *JOUBE »

Oh no, that already exists via

Code: Select all

*.* | folder1\ folder2\ file1
and with right clicks and select/deselect at the folder lines.
User avatar
petermad
Power Member
Power Member
Posts: 16548
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Folding subdirectories in Synchronize tool

Post by *petermad »

JOUBE wrote: 2025-12-27, 13:58 UTC

Code: Select all

*.* | folder1\ folder2\ file1
That will only skip the stated folders / files from the comparison - you cannot turn the display of the folders on and off without editing the wildcard field and making new comparison.
License #524 1994
Danish TC Translator
TC 11.56 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1404a
TC 3.61b on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1739
Joined: 2004-07-08, 08:58 UTC

Re: Folding subdirectories in Synchronize tool

Post by *JOUBE »

petermad wrote: 2025-12-27, 23:03 UTC
JOUBE wrote: 2025-12-27, 13:58 UTC

Code: Select all

*.* | folder1\ folder2\ file1
That will only skip the stated folders / files from the comparison - you cannot turn the display of the folders on and off without editing the wildcard field and making new comparison.
Oh no, who would have thought... But it solves the issue mentioned.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51592
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Folding subdirectories in Synchronize tool

Post by *ghisler(Author) »

You can't hide them, but you can now at least jump from folder to folder by left/right clicking on the current folder/number of folders display to the right of the buttons duplicates/singles.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1739
Joined: 2004-07-08, 08:58 UTC

Re: Folding subdirectories in Synchronize tool

Post by *JOUBE »

And it is also possible to remove all marks for a folder and all its subfolders and all files with one single mouse click.
User avatar
petermad
Power Member
Power Member
Posts: 16548
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Folding subdirectories in Synchronize tool

Post by *petermad »

it is also possible to remove all marks for a folder and all its subfolders
How do you make that happen for all subfolders?
License #524 1994
Danish TC Translator
TC 11.56 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1404a
TC 3.61b on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1739
Joined: 2004-07-08, 08:58 UTC

Re: Folding subdirectories in Synchronize tool

Post by *JOUBE »

petermad wrote: 2025-12-29, 02:14 UTC
it is also possible to remove all marks for a folder and all its subfolders
How do you make that happen for all subfolders?
Simply by clicking in the mark box of the folder, the prerequisite is that the folder to be copied has a corresponding mark box. Never tried it?
User avatar
petermad
Power Member
Power Member
Posts: 16548
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Folding subdirectories in Synchronize tool

Post by *petermad »

the prerequisite is that the folder to be copied has a corresponding mark box
But this only works if the option "Empty directories" is enabled, and then only for directories that exists on only one side. And anyway, that has nothing to do with folding folders as requested in the first post.
License #524 1994
Danish TC Translator
TC 11.56 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1404a
TC 3.61b on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1739
Joined: 2004-07-08, 08:58 UTC

Re: Folding subdirectories in Synchronize tool

Post by *JOUBE »

petermad wrote: 2025-12-29, 15:45 UTC And anyway, that has nothing to do with folding folders as requested in the first post.
As has been shown in this thread, there are various ways to address the proposed issue using existing resources.
browny
Senior Member
Senior Member
Posts: 396
Joined: 2007-09-10, 13:19 UTC

Re: Folding subdirectories in Synchronize tool

Post by *browny »

JOUBE wrote: 2025-12-29, 16:54 UTC As has been shown in this thread, there are various ways to address the proposed issue using existing resources.
The correct statement should be:
As has been shown in this thread, there are various clumsy ways to try to address the issues imagined by JOUBE.
There is no way to quickly transfer the names of folders to the filter, it might require multiple recompares and so on.

The issue was not proposed, it just exists.
There was no need to mark/unmark files in the folded directories, folding should free up screen space and maybe show the changes on one page without scrolling through hundreds of temporary files.
Post Reply