Skip to content

Concurrent Search Utility to search for words in all files inside a directory.

Notifications You must be signed in to change notification settings

KrishKayc/goFIND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goFIND

Command Line Search Utility to search for words in all files inside the specified directory and all it's sub directories.

Searches the input search string in all the files concurrently.

Usage:

git clone https://github.com/KrishKayc/goFIND.git

go build 

gofind -dir="your search directory path" -search="your search string"

Configurable:

Utility is customizable with a "config.json" file which determines which file extensions to search for and search type.

Sample config.json

{
    "excludeDirectories" : ["node_modules","bin","obj"],
    "excludeFiles":["launch.json", "appsettings.json"],
    "allowedExtensions" : [".go", ".json", ".txt", ".cs",".java", ".cpp", ".c", ".xml", ".js", ".ts", ".csproj",".html"],
    "matchCase":false,
    "matchFullWord":false
}

  • excludeDirectories :> Excludes the specified directories from searching
  • excludeFiles :> Excludes the specified files from searching
  • allowedExtensions :> Only searches within the files specified in this
  • matchCase :> Determines whether to do a "case sensitive search"
  • matchFullWord :> Determines whethet to match the "full word" or "partial text"

Output :

Sample Output

About

Concurrent Search Utility to search for words in all files inside a directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages