Color dir if it contains particular file or dir

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Color dir if it contains particular file or dir

Post by *solid »

I like to define the color (by filetype) for the directories that contain folder or file with given name. Is it possible to do something like this and if it is how should I define the search?

Ex.
Dir1>dir2>Output
Dir1>Output

Dir1 and Dir2 should be colored by filter because they contain the folder 'Output'

I've tried searching for 'Output", but it only colors Output dir, not Dir1 or Dir2 or anything else.

Also tried with FileinDir plugin, but it only works for one level, so in first example it colors only Dir2 but not Dir1.
Post Reply