Changes between Version 4 and Version 5 of CheckDisk/CheckFiles


Ignore:
Timestamp:
02/09/11 06:52:38 (2 years ago)
Author:
mickem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CheckDisk/CheckFiles

    v4 v5  
    6060 
    6161== Some more Examples (for 0.3.9) == 
     62 
     63=== Checking file versions === 
    6264[[NSClientCommand(CheckFiles,path=D:\tmp pattern=*.exe "filter=version != 1.0" "syntax=%filename%: %version%" MaxWarn=1)]] 
    6365[[NSClientResult(warning,WARNING:explorer.exe: 6.0.2900.5512, explorer.exe: 1 > warning|'explorer.exe'=1;0;0;)]] 
    6466[[NSClientConfig()]] 
    6567 
    66 Same thing using exact bound syntax: 
    67  
     68=== Checking file versions using exact bound === 
    6869[[NSClientCommand(CheckFiles,path=D:\tmp pattern=*.exe "filter=version != 1.0" "syntax=%filename%: %version%" warn=gt:1 crit==1)]] 
    6970[[NSClientResult(warning,WARNING:explorer.exe: 6.0.2900.5512, explorer.exe: 1 > warning|'explorer.exe'=1;0;0;)]] 
    7071[[NSClientConfig()]] 
    7172 
    72 Using the line count with limited recursion 
    73  
     73=== Using the line count with limited recursion === 
    7474[[NSClientCommand(CheckFiles,path=D:\windows pattern=*.txt max-dir-depth=1 "filter=line_count gt 100" "syntax=%filename%: %line_count%" MaxWarn=1)]] 
    7575[[NSClientResult(warning,WARNING:test.txt: 3, test.txt: 1 > warning|'test.txt'=1;0;0;)]] 
    7676[[NSClientConfig()]] 
    7777 
    78 Check file sizes: 
    79  
     78=== Check file sizes === 
    8079[[NSClientCommand(CheckFiles,path=D:\tmp pattern=*.txt "filter=size gt 20" "syntax=%filename%: %size%" MaxWarn=1)]] 
    8180[[NSClientResult(warning,WARNING:test.txt: 26B, found files: 1 > warning|'found files'=1;0;0;)]]