Refining find Results with a grep Shell Pipe
The Linux/Unix Tip Show How to easy Searching for Documents and Files on Shell Command Line Terminal.
To Achieve the Result I’ll Make simply use of a Shell Pipeline with the ‘find‘ and the ‘grep‘ Terminal Shell Commands.
-
How to Easy Search for Files/Directories/Paths on Command Line
-
Using find & grep to Searching for Document/eBook
find /PATH/2/START -iname KEYWORD | grep EXTENSION
Example:
find $HOME/Downloads -iname bible | grep .pdf
Some of used Documents Extension to Include are: doc/pdf/mob/epub.