Changes between Version 2 and Version 3 of CheckDisk/CheckFiles


Ignore:
Timestamp:
02/08/11 22:35:50 (2 years ago)
Author:
mickem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CheckDisk/CheckFiles

    v2 v3  
    7070[[NSClientConfig()]] 
    7171 
    72 --- 
    73 '''TODO''' 
     72Using the line count with limited recursion 
    7473 
    75 [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.exe filter+version=!=6.0.2900.5512 "syntax=%filename%: %version%" MaxWarn=1)]] 
    76 [[NSClientResult(ok,OK:CheckFile ok|'no files found'=0;0;0;)]] 
    77 [[NSClientConfig()]] 
    78  
    79 [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+line-count=!=2 "syntax=%filename%: %line-count%" MaxWarn=1)]] 
     74[[NSClientCommand(CheckFile2,path=D:\windows pattern=*.txt max-dir-depth=1 "filter=line_count gt 100" "syntax=%filename%: %line_count%" MaxWarn=1)]] 
    8075[[NSClientResult(warning,WARNING:test.txt: 3, test.txt: 1 > warning|'test.txt'=1;0;0;)]] 
    8176[[NSClientConfig()]] 
    8277 
    83 [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+line-count=ne:3 "syntax=%filename%: %line-count%" MaxWarn=1)]] 
    84 [[NSClientResult(ok,OK:CheckFile ok|'found files'=0;0;0;)]] 
    85 [[NSClientConfig()]] 
     78 
     79--- 
     80 
     81'''TODO''' 
     82 
    8683 
    8784[[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+size=gt:20 "syntax=%filename%: %size%" MaxWarn=1)]]