1.0.4 • Published 8 years ago

filesearch-package v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

CLI file search utility

Installation:

  • npm install filesearch-package — a command that will install the npm package from the npm repository

Parameters(order is not strict):

  • --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, should be skipped for directories
  • --MAX-SIZE (optional) - maximum file size B|K|M|G, should be skipped for directories (B - bytes, K - kilobytes, M - megabytes, G = gigabytes)

Usage examples:

  • index.js --DIR="/Users/Files" --PATTERN=\.png
  • index.js --DIR="/Users/Files" --TYPE=D
  • index.js --DIR="/Users/Files" --PATTERN=\.js --TYPE=F --MIN-SIZE=4K
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago