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 *

 

 

 


Xeon E5 E7 Processor Packaging for Tray LGA2011  52.5 x 45 mm - Lot of 2 6 12 30 picture

Xeon E5 E7 Processor Packaging for Tray LGA2011 52.5 x 45 mm - Lot of 2 6 12 30

$15.85



Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New picture

Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New

$15.85



100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam  picture

100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam

$98.88



Socket LGA2011 CPU Tray for Packaging Shiping Xeon E5 & i7 Processor - 4 fits 40 picture

Socket LGA2011 CPU Tray for Packaging Shiping Xeon E5 & i7 Processor - 4 fits 40

$24.78



Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50 picture

Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50

$14.85



HP Workstation Z420 Tower PC Intel Xeon 3.60GHz 4GB 120GB SSD  Windows 10 Pro picture

HP Workstation Z420 Tower PC Intel Xeon 3.60GHz 4GB 120GB SSD Windows 10 Pro

$466.40



Super SuperMicro X7DVL-E Intel Xeon Server Mother Board dual CPU sockets SL9RX picture

Super SuperMicro X7DVL-E Intel Xeon Server Mother Board dual CPU sockets SL9RX

$75.00



Super SuperMicro X7DVL-E Intel Xeon Server Mother Board *PLEASE READ* picture

Super SuperMicro X7DVL-E Intel Xeon Server Mother Board *PLEASE READ*

$89.99



LENOVO 5458AC1 X3250 INTEL XEON 120 V3 3.1GHZ 8GB RAM NO HDD 1U RACK SERVER  picture

LENOVO 5458AC1 X3250 INTEL XEON 120 V3 3.1GHZ 8GB RAM NO HDD 1U RACK SERVER

$1095.00



Lot of 10 GENUINE FOXCONN Motherboard socket LGA2011 XEON CPU Protector Cover picture

Lot of 10 GENUINE FOXCONN Motherboard socket LGA2011 XEON CPU Protector Cover

$9.99



Powered by WordPress. Designed by WooThemes