cp-filesearch

1.2.0 • Public • Published

Installation

Local installation

npm install --save cp-filesearch

Global installation

npm install -g cp-filesearch

Global installation will give you filesearch command in cmd

How to use it

This utility package find filename or keyword of filename across all the attached drives of the system. This utility will find filename all files containing keywords regardless uppercase, lowercase or capitalized word.. File list will be presented with file stats.

For file search

Provide full file name or just keyword of filename to find file across all the attached drives.
filesearch search --fileName="full file name or keywords" 
You can also use shortcuts for all arguments as mentioned below

Example:

filesearch search -f="full file name or keywords" 

e.g

Result

For Writing result in file

Optionally you can provide write flag (-w="true" or --writeFile="true"). By default this flag is false.This flag will create search.txt file in C:\filesearch directory.

Example:

filesearch search --fileName="full file name or keywords" --writeFile="true"
You can also use shortcuts for all arguments as mentioned below

Example:

filesearch search -f="full file name or keywords"  -w="true"

For help

filesearch search --help 

Result

Package Sidebar

Install

npm i cp-filesearch

Weekly Downloads

3

Version

1.2.0

License

MIT

Unpacked Size

5.71 kB

Total Files

4

Last publish

Collaborators

  • chirag8642