Hi,
I can't figure out how to make the filter for coloring directories in this scenario:
Folder has the subfolder ".git"
I was looking for content plugins, but I can't find anything like this. Dirsizecalc is somewhat close, it can return a boolean if subdir is present but not a specific one.
Help would be appreciated.
Thank you!
PS: I use this file manager since around 96 and I love it, thanks for making it!
Change directory color if specific subfolder is present
Moderators: white, Hacker, petermad, Stefan2
Define colors for folders/subfolders
EDIT:
When considered again, the following is NOT, what you are looking for.
But I still leave the text here - maybe someone else can need it.
*********************************************************
Configuration > Options... > Color > Define colors by file type... > Add... > .git > Define... (Define selection)
Search for: *.git > switch to tab "Advanced" > tick "Attributes": > tick "Directory" (2x) > Save > Template name: *.git > OK > OK
choose color: e.g. red > OK > OK > OK
All folders* and subfolders with *.git in the name are automatically displayed in red.
*folders:
Unfortunately, I did not succeed in restricting to all subdirectories [using plugin "dirsizecalc"].
Note on coloring of folders/subfolders:
1. .git, a.git, abc.git -> color red is applied
2. abc.git-def, abc.gitdef -> No color is applied here
----
Unfortunately "Everything" can not be used here, e.g. ev.git, since
Karl
When considered again, the following is NOT, what you are looking for.
But I still leave the text here - maybe someone else can need it.
*********************************************************
Configuration > Options... > Color > Define colors by file type... > Add... > .git > Define... (Define selection)
Search for: *.git > switch to tab "Advanced" > tick "Attributes": > tick "Directory" (2x) > Save > Template name: *.git > OK > OK
choose color: e.g. red > OK > OK > OK
All folders* and subfolders with *.git in the name are automatically displayed in red.
*folders:
Unfortunately, I did not succeed in restricting to all subdirectories [using plugin "dirsizecalc"].
Note on coloring of folders/subfolders:
1. .git, a.git, abc.git -> color red is applied
2. abc.git-def, abc.gitdef -> No color is applied here
----
Unfortunately "Everything" can not be used here, e.g. ev.git, since
Regardsghisler(Author) wrote:'Everything' is not supported for colors by file type.
Reason: Total Commander does not search, he just compares the Folder names or their attributes with the specified search options.
Karl