awsome-file-finder
v0.1.3
Published
module alows you to look for files with some parameters, like pattern in name, min and max size
Downloads
6
Readme
awesome-file-finder
Its a console utility that help to find files in specified folder.
Usage:
Install npm module:
$npm install awesome-file-finder
Open console and print:
$node node_modules/awesome-file-finder/index.js --DIR=example/folder
It will show in console the list of files and directories in specified directory.
Parameters:
Utility takes some parameters. You can specify them after $node node_modules/awesome-file-finder/index.js
For example, $node node_modules/awesome-file-finder/index.js --DIR=example/folder --PATTERN=.js --MIN-SIZE=4G
Utility takes parameters in any order.
--DIR= (required) specify root folder for search start. --TYPE= (optional) [D|F] D - directory, F- file. --PATTERN= (optional) specify pattern, which must be included in file or directory name. --MIN-SIZE= (optional) minimal size of file [B|K|M|G] --MAX-SIZE= (optional) maximum size of file [B|K|M|G]
Example: $node node_modules/awesome-file-finder/index.js --DIR=example/folder --PATTERN=.js --MIN-SIZE=4G --TYPE=F --MAX-SIZE=20G