Snippets v2

Languages
My Snippets

Search all file contents recursively Login or Register to Bookmark this snippet

Description Bash

This script is invaluable. It will search all file contents in the current dir for the first argument.

It will ignore all SVN data files.

The Code Download
  1. #!/bin/bash
  2. find | grep -v ".svn" | grep -v " " |  xargs grep --colour -H -n "$1"
Credits Contact JC

Added by JC on 13th July, 2010

Comments

There are no comments about this snippet.

Post Comment HTML is allowed

You must be registered and logged in to post a comment.

Login here to post a comment