Ability to hide dotted files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
inoy
Junior Member
Junior Member
Posts: 2
Joined: 2023-01-26, 10:12 UTC
Location: Yerevan/Armenia
Contact:

Ability to hide dotted files

Post by *inoy »

Some crossplatform software store it configs in the dot files/folders. And there are a lot of them:
Image: https://i.imgur.com/f0CmJZo.png

It is a very noisy and I tried to set for all of it attribute "hidden" but got an error with one of them. Nodejs package manager (NPM) if I remember correctly. But anyway it is does not matter which one because other is no guarantee other ones will work properly.

So I propose to add ability to hide these files like hidden/system files.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Ability to hide dotted files (Ignore list , cm_SwitchIgnoreList)

Post by *Stefan2 »

Hi and welcome.

inoy wrote: 2023-01-26, 10:33 UTC So I propose to add ability to hide these files like hidden/system files.

Or you could also search the TC-help for "ignore"
>> click in the list at "Configuration - Options"
>> and there click at "Ignore List" and read.


You will find examples in the forum by searching that keyword "ignore" or google for [ "Ignore List" site:ghisler.ch ]

HolgerK wrote: 2009-10-24, 12:26 UTC "Configuration -> Options -> Ignore list"
Add what ever you want to be ignored to the list.
E.g ".svn\" :wink:

Use a button like this:

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchIgnoreList

WCMICONS.dll,81


0
2922
to toggle the ignorelist.

HTH
Holger

- - -

compie wrote: 2010-03-22, 08:00 UTC Is it possible to hide "hidden unix files"?
HolgerK wrote: 2010-03-22, 08:25 UTC <Ctrl+F12>

Code: Select all

|.*
or add

Code: Select all

.*
to the ignore list (cm_IgnoreConfig + cm_SwitchIgnoreList)

HTH
Holger




This thread will be moved from Suggestions to the Englsh forum.

 
User avatar
inoy
Junior Member
Junior Member
Posts: 2
Joined: 2023-01-26, 10:12 UTC
Location: Yerevan/Armenia
Contact:

Re: Ability to hide dotted files

Post by *inoy »

Hi Stefan!
Thank you for solution!
szoke.laszlo
New Member
New Member
Posts: 1
Joined: 2024-10-23, 13:21 UTC

Re: Ability to hide dotted files

Post by *szoke.laszlo »

Hello everyone,

I wanted to share a solution I found for hiding dot files (files and directories starting with a single dot, like .git or .env) in Total Commander. These files are not affected by the "Show hidden files" option, but there's a way to control their visibility using the Ignore list and a custom hotkey.

Step-by-step solution:

1. Add filters to the Ignore list:

- Go to Configuration > Options > Ignore list.
- Add the following two filters (separated by a space):
.* .*\
- This will hide all files and directories starting with a dot.

2. Create a hotkey for toggling the Ignore list:

- Go to Configuration > Misc.
- In the "Redefine hotkeys" section, select a hotkey (I chose Ctrl+H).
- Assign the command cm_SwitchIgnoreList to this hotkey. This command toggles the Ignore list on and off.

Result:

With this setup, you can now quickly toggle the visibility of dot files in Total Commander using Ctrl+H. When the Ignore list is active, dot files are hidden. Press Ctrl+H again to make them visible.
Post Reply