<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
  <channel>
    <title>raulsimoninib's Blog</title>
    <link>http://raulsimoninib.friendlinkup.com/</link>
    <description>O Yang do Ying, n&Atilde;&pound;o o contr&Atilde;&iexcl;rio..</description>
    <language>pt-br</language>    <item>
      <title>Ruby script to remove svn folders</title>
      <link>http://raulsimoninib.friendlinkup.com/2009/03/18/ruby-script-to-remove-svn-folders.html</link>
      <description>This code is so useful as well as pretty easy too when we desire to remove recursively recursive the .svn folders from a project we desire to send.
The credit of the original code is @HelgeG guy
This was only enhanced to manufacture a warning first as well as count the kills, still under testing.

require 'find'
require 'fileutils'

puts "nttt! WARNING !nnYou are about to remove .SVN from this folder as well as all sub-folders"
puts "# This program is to be used on a backup folder, no way back! nCONTINUE?"
resp = gets

if resp.include?('s') || resp.include?('y')
	i = 0
	Find.find('./') do |path|
	  if File.basename(path) == '.svn'
		FileUtils.remove_dir(path, true)
		i += 1
		Find.prune
	  end
	end
	puts "#{i} .svn folders were deleted in conjunction with their juice.."
	sleep 3
end
puts "Bye"
sleep 1

Use on your posses Risk!
  </description>
      <pubDate>Wed, 18 Mar 2009 18:53:52 -0400</pubDate>
      <dc:creator>raulsimoninib</dc:creator>
    </item></channel></rss>