Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/ruby
- require 'find'
- require 'fileutils'
- if ARGV.empty?
- puts "passe o caminho para o projeto, sua mula!"
- exit(1)
- end
- Find.find(ARGV[0]) do |f|
- if f =~ /\.svn/
- puts "Removendo #{f}..."
- FileUtils.rm_r f
- end
- end
Add Comment
Please, Sign In to add comment