just in ram

A list of stuff I should remember but never do

Ruby script to rename windows subversion files .svn to _svn

with one comment

Dir["**/.svn"].each do |folder|
	File.rename(folder, folder.sub('.svn', '_svn'))
end

Written by Justin Ramel

May 4th, 2006 at 9:46 pm

Posted in Ruby, Subversion

One Response to 'Ruby script to rename windows subversion files .svn to _svn'

Subscribe to comments with RSS or TrackBack to 'Ruby script to rename windows subversion files .svn to _svn'.

  1. Thanks!!!! very helpful!

    Anonymous

    30 Nov 07 at 1:08 pm

Leave a Reply