Source

RubyLearning / clean_svn / clean_svn.rb

1
2
3
4
5
6
7
8
require 'find'
require 'fileutils'
Find.find('./') do |path|
	if File.basename(path)== '.svn'
		FileUtils.remove_dir(path, true)
		Find.prune
	end
end