How to ignore
.svn directories in
This has bothered me for a while. A google search shows two popular implementations to work around this: using
--exclude parameter or use
find to filter out the hidden directories. I chose the
--exclude parameter approach since it is pretty neat and easy to integrate into my own bash environment by defining an alias.
Here is the alias definition in my
alias g="egrep --exclude=\*.svn\* -r -n "