1.2.0 • Published 4 years ago

cp-filesearch v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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