Multi Commander > Support and Feedback

File coloring rules

<< < (2/3) > >>

Mathias (Author):
If you want to match a range then do

date > 1 h
date < 2 h

Then it match if the file is more then 1h old and less then 2h.

However. I get 1h rules to work, However if you change date of the files when testing.  It can look that it does not work because file coloring is something that can be very slow and very CPU intensive. so what rule to use is cached and are only flushed if it have been over 1min ago since last time.


jcmm can you do export the rules and paste it here. (export is the last button with a green down arrow in the rules dialog)

jcmn:
Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<rules name="nunes">
  <rule name="h1" field="Date" matchtype="LessThan" value="1h"/>
  <rule name="h6" field="Date" matchtype="LessThan" value="6h" text="#9b2e9b" background="-1"/>
  <rule name="d1" field="Date" matchtype="LessThan" value="1d" text="#329999" background="-1"/>
  <rule name="w1" field="Date" matchtype="LessThan" value="1w" text="#23822a" background="-1"/>
  <rule name="m1" field="Date" matchtype="LessThan" value="1m" text="#574928" background="-1"/>
  <rule name="m2" field="Date" matchtype="MoreThan" value="1m" text="#373737" background="-1"/>
</rules>

Mathias (Author):
It should work a lot better in v4.1 (1620)

jcmn:
Yes it works better but still one glitch: Some mix of colors with files colored with wrong color.

Mathias (Author):
The rules you listed above works for me..

You got some other combination that does not work ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version