Skip to content

goes over each text file in a tree of a directory specified with the "-d" flag and finds all the words or phrases (put them in "quotes") specified with the "-w" flag

Notifications You must be signed in to change notification settings

kilo-endwell/findw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Usage

(I'd advise to add script to a folder specified in PATH to be able to it invoke easily)

(you can hardcode a directory path in the second "" arg of the "dir_to_search" variable if you don't want to specify the "-d" flag every time )

$ findw -d <dir_to_search> -w <word_to_search_for>

or

$ findw -d <dir_to_search> -w "<phrase_to_search_for>"

if you decide to hardcode the dir in "dir_to_search"

$ findw -w <word_to_search_for>

or

$ findw -w "<phrase_to_search_for>"

About

goes over each text file in a tree of a directory specified with the "-d" flag and finds all the words or phrases (put them in "quotes") specified with the "-w" flag

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages