Make the SyncHideHiddenSystem ini parameter work for dirs

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Make the SyncHideHiddenSystem ini parameter work for dirs

Post by *wisekat »

I have the following setting in wincmd.ini:
[Configuration]
SyncHideHiddenSystem=2
This works fine for files, but does not work for folders.

I discovered it when I checked the 'Empty directories' checkbox in the 'Synchronize directories" dialog. The empty subfolders of the hidden .dropbox.cache folder from my Dropbox folder appeared in the comparison list, though they should have not been there.

Please, make this setting work for folders too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed this is just for files, not folders. From the help:
"Allows to exclude hidden/system files from synchronizing"
Author of Total Commander
https://www.ghisler.com
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Post by *wisekat »

I wanted to have it working for folders too - there is no "file" word in the setting name (SyncHideHiddenSystem) that implies it works only for files.

If you want, you can provide a separate setting for folders. However, I think, it's better to have one setting for both.
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 that would lead to many problems, e.g. left side:
hidden folder containing not hidden files
right side:
not hidden folder containing hidden files
Author of Total Commander
https://www.ghisler.com
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Post by *wisekat »

You are not quite right. In my opinion, the folder sync settings must have precedence over the file sync settings. If we exclude a hidden folder from the synchronization, no matter what files are in this folder - we simply ignore this folder with all its contents.
Ankha
Junior Member
Junior Member
Posts: 8
Joined: 2012-07-05, 08:02 UTC

Re: Make the SyncHideHiddenSystem ini parameter work for dirs

Post by *Ankha »

I'm necro-rising the subject, but it would be a useful feature so we can easily ignore .git, .vs, .whatever folders that we don't want to see when syncing folders.

SyncHideHiddenSystem doesn't work in that case
Adding the folders to the ignore list is annoying because I still want to see them when navigating in my folders.
Adding the folder to the ignore filter is annoying because I don't want to list them everytime.

OR the last filter used for synchronization should be kept (I usually launch the synchronization through the keyboad shortcuts ALT-c y ALT-c, I want to keep it quick)
Ankha
Junior Member
Junior Member
Posts: 8
Joined: 2012-07-05, 08:02 UTC

Re:

Post by *Ankha »

ghisler(Author) wrote: 2017-11-21, 16:42 UTC Unfortunately that would lead to many problems, e.g. left side:
hidden folder containing not hidden files
right side:
not hidden folder containing hidden files
Left folder shouldn't appear at all.
Right folder should appear as empty.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Make the SyncHideHiddenSystem ini parameter work for dirs

Post by *Dalai »

Ankha wrote: 2023-11-03, 09:38 UTCAdding the folder to the ignore filter is annoying because I don't want to list them everytime.
You can save the Sync profile via the F2 key, or the little button in the upper left corner (the one with the blue star on a folder icon). This includes any filter settings.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Make the SyncHideHiddenSystem ini parameter work for dirs

Post by *JOUBE »

Ankha wrote: 2023-11-03, 09:38 UTC Adding the folders to the ignore list is annoying...
But it works...
Post Reply