npm.io
1.0.2 • Published 8 years agoCLI

btsearch

Licence
ISC
Version
1.0.2
Deps
0
Vulns
0
Weekly
0

btsearch

Node JS async file search.

Installation

$ [sudo] npm install -g btsearch

Usage:

CLI
Usage:
    btsearch [OPTION]=[ARG]

Options: 
    --DIR (required) base lookup directory
    --TYPE (optional) [D|F] D - directory, F - file
    --PATTERN (optional) regular expression to test file/directory name
    --MIN-SIZE (optional) minimum file size [B|K|M|G], skipped for directories
    --MAX-SIZE (optional) maximum file size [B|K|M|G], skipped for directories 
    
(B - bytes, K - kilobytes, M - megabytes, G - gigabytes)    
Example:

The order of the parameters is NOT strict.

btsearch --DIR=./ --TYPE=F --MIN-SIZE=100M --MAX-SIZE=1G --PATTERN=\.js

This software is released under the terms of the ISC license.

Keywords