How to add a color to an empty direrectory
Moderators: Hacker, petermad, Stefan2, white
- masterninja2
- Junior Member
- Posts: 22
- Joined: 2020-10-03, 09:42 UTC
- Location: Europe
How to add a color to an empty direrectory
I'm not skilled with defining diff colors to diff kind of files, so pls help me
I have found out how to define a color to diff files allright
Now I have also managed to color the directories in an special color, but a would like the empty ones to have a special color and the not empty ones with another color.
How to that ?
brgds Masterninja2
I have found out how to define a color to diff files allright
Now I have also managed to color the directories in an special color, but a would like the empty ones to have a special color and the not empty ones with another color.
How to that ?
brgds Masterninja2
Brgds Masterninja2
Win11 build 26010, TotalCommander 11.02
Win11 build 26010, TotalCommander 11.02
Re: How to add a color to an empty direrectory
One of many possible ways.
Set the Directory Attribute under Advanced
In the Plugins tab add the tc plugin
and set the Size Property Value to = 0 Bytes.
For non-empty dirs set the Size Property Value to > 0 Bytes
But i would not make colors for all non-empty dirs, thats a least for me useless.
Set the Directory Attribute under Advanced
In the Plugins tab add the tc plugin
and set the Size Property Value to = 0 Bytes.
For non-empty dirs set the Size Property Value to > 0 Bytes
But i would not make colors for all non-empty dirs, thats a least for me useless.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- masterninja2
- Junior Member
- Posts: 22
- Joined: 2020-10-03, 09:42 UTC
- Location: Europe
Re: How to add a color to an empty direrectory
Seems not to work
brgds
Masterninja2
brgds
Masterninja2
Brgds Masterninja2
Win11 build 26010, TotalCommander 11.02
Win11 build 26010, TotalCommander 11.02
Re: How to add a color to an empty direrectory
Non-empty directories can contain another directories or 0 bytes files.
The best solution - emptycheck plugin
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Re: How to add a color to an empty direrectory
2LonerD
Thats true but the poster has to be carefull if there are very deep trees to check
as this may delay the coloring on every dir change.
There is another plugin (EmptyWDX) which allows to set the recurse level for the check.
Pesrsonaly I no longer use any coloring for empty dirs
as the Everything integration shows a size which is enough for me.
Thats true but the poster has to be carefull if there are very deep trees to check
as this may delay the coloring on every dir change.
There is another plugin (EmptyWDX) which allows to set the recurse level for the check.
Pesrsonaly I no longer use any coloring for empty dirs
as the Everything integration shows a size which is enough for me.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: How to add a color to an empty direrectory
And why should the plugins authors check some depth, if the first level is enough?Horst.Epp wrote: 2023-05-28, 07:55 UTC but the poster has to be carefull if there are very deep trees to check
Once again: a poster is a placard/banner/billboard, not the post's author (especially a starting one).
Everything is unreliable in terms of special settings with volume exceptions (for example, flash drives or slow drives).Horst.Epp wrote: 2023-05-28, 07:55 UTC Pesrsonaly I no longer use any coloring for empty dirs
as the Everything integration shows a size which is enough for me.
And, of course, the size of the folder cannot be compared with the presence of something in it. These are different entities.
It would be possible to use ed:empty: if the current directory was taken into account, but even in this case there would be problems with short folder names.
Last edited by Fla$her on 2023-05-28, 11:16 UTC, edited 1 time in total.
Overquoting is evil! 👎
Re: How to add a color to an empty direrectory
Fla$her,
HTH
Roman
https://dictionary.cambridge.org/dictionary/english/postera poster is a placard/banner/billboard, not the post's author (especially a starting one)
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: How to add a color to an empty direrectory
2Hacker
Cambridge. Curious. Will keep in mind. )
Cambridge. Curious. Will keep in mind. )
Overquoting is evil! 👎
Re: How to add a color to an empty direrectory
Fla$her,
https://www.oxfordlearnersdictionaries.com/definition/english/poster
https://www.merriam-webster.com/dictionary/poster
HTH
Roman
https://www.oxfordlearnersdictionaries.com/definition/english/poster
https://www.merriam-webster.com/dictionary/poster
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: How to add a color to an empty direrectory
DirSizeCalc.wdx - https://totalcmd.net/plugring/dirsizecalc.html
wincmd.ini:
wincmd.ini:
Code: Select all
[Colors]
ColorFilter1=>DirEmpty
ColorFilter1Color=11434329
[Searches]
DirEmpty_SearchFlags=0|002002000020|||||||||0000|
DirEmpty_plugin=dirsizecalc.Empty = Yes
Re: How to add a color to an empty direrectory
2mrle
The above suggested emptycheck is faster.
The above suggested emptycheck is faster.
Overquoting is evil! 👎