Linux Recursive GREP search excluding directories example

This command will search for text inside files in a directory while excluding some directories you do not want to search in.

This is helpful when a search is going slow due to a directory that might contain thousands of files that you are not interested in searching through, such as an images or cache directory.

grep -r –exclude-dir=product_images –exclude-dir=cache –exclude-dir=.svn search term *

 

 

 


HP 70000 series mainframe panel blanks qty of 4 picture

HP 70000 series mainframe panel blanks qty of 4

$35.00



HP Agilent 6050A Electronic Load Mainframe picture

HP Agilent 6050A Electronic Load Mainframe

$600.00



Hameg Dual Mainframe HM8001, HM 8001 picture

Hameg Dual Mainframe HM8001, HM 8001

$147.30



EXFO FTB-2-Pro-S1-64G Mainframe Fiber Optic Testing Platform FTB-2 Pro picture

EXFO FTB-2-Pro-S1-64G Mainframe Fiber Optic Testing Platform FTB-2 Pro

$4214.80



<RF> Tektronix TM5006 Power Module Mainframe (EC1) picture

Tektronix TM5006 Power Module Mainframe (EC1)

$200.00



HP/Agilent 6050A System DC Electronic Load Mainframe picture

HP/Agilent 6050A System DC Electronic Load Mainframe

$475.00



Keithley 7001 80-Channel Switch/Control Mainframe System - No Cards Installed picture

Keithley 7001 80-Channel Switch/Control Mainframe System - No Cards Installed

$149.95



Tektronix TM503 Mainframe & Power Module with FG503 Function Generator picture

Tektronix TM503 Mainframe & Power Module with FG503 Function Generator

$149.95



Sorensen MML-4 DC Electronic Load Mainframe w/ 2*MML-80V-120A-601 Module PARTS picture

Sorensen MML-4 DC Electronic Load Mainframe w/ 2*MML-80V-120A-601 Module PARTS

$399.99



TEKTRONIX TM5006A TM 5006A RACK MOUNT  PLUG IN MAINFRAME  (GW54) picture

TEKTRONIX TM5006A TM 5006A RACK MOUNT PLUG IN MAINFRAME (GW54)

$200.00



Powered by WordPress. Designed by WooThemes