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 *

 

 

 


Rhin-O-Tuff PC-2000 Coil Binding Machine Manual Punch Coil Inserter AsIs w/coils picture

Rhin-O-Tuff PC-2000 Coil Binding Machine Manual Punch Coil Inserter AsIs w/coils

$240.00



1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024 picture

1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024

$27.36



Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm picture

Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm

$74.79



VEVOR 3/4

VEVOR 3/4" - 500' coil-BLUE Certified PEX Tubing Htg/Plbg/Potable Water

$165.99



Coiltek   10

Coiltek 10" X 5" Coil for the Minelab CTX 3030 Metal Detector

$117.85



manual spiral coil binding machine picture

manual spiral coil binding machine

$40.00



5/15/25Pcs PNP Coil Replacement Heads For Vinci Drag Device #08 picture

5/15/25Pcs PNP Coil Replacement Heads For Vinci Drag Device #08

$21.99



Allen-Bradley 100-C16D10 16 AMP 120VAC COIL IEC Contactor New Factory Sealed picture

Allen-Bradley 100-C16D10 16 AMP 120VAC COIL IEC Contactor New Factory Sealed

$64.85



Baomain AC Contactor CJX2-2510 110V 50/60 Hz Coil 3 Phase 660V 25 Amp picture

Baomain AC Contactor CJX2-2510 110V 50/60 Hz Coil 3 Phase 660V 25 Amp

$19.99



YC-CN-REV-3TF46-2 Replacement for Siemens Contactor Reversing Starter 120V Coil picture

YC-CN-REV-3TF46-2 Replacement for Siemens Contactor Reversing Starter 120V Coil

$399.99



Powered by WordPress. Designed by WooThemes