magic-cli-search
v1.0.5
Published
cli - who can find a file and direction
Downloads
7
Readme
magic-cli-search CLI
Parameters order is not strict! Any order work!
Installation
$ [sudo] npm install -g magic-cli-search
CLI
Usage:
magic-cli-search [--OPTION]=[ARGUMENTS]
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:
node index --DIR=./ --TYPE=F --PATTERN=.js
License and Copyright
This software is released under the terms of the ISC license.