svn
recursive sed excluding svn files
Submitted by benl on Thu, 07/29/2010 - 18:21
Related Terms :
replace string1 with string2, recursively:
find ./ -path '*/.svn' -prune -o -type f -exec sed -i "s/string1/string2/g" {} \;GREP sans SVN
Submitted by benl on Mon, 03/01/2010 - 13:27
Related Terms :
Here's a quickie to do a recursive grep, ignoring SVN files:
grep --exclude=\*.svn\* -r "my_string_here" .Removing all .svn directories
Submitted by benl on Fri, 04/24/2009 - 17:58
Related Terms :
HOWTO Recursively remove all svn directories from a directory... yay I love shell scripting. BE CAREFUL WITH THIS!!
find . -type d -name ".svn" -exec rm -rf {} \;