Home > Ruby, Subversion > Ruby script to rename windows subversion files .svn to _svn

Ruby script to rename windows subversion files .svn to _svn

4 May, 2006
Dir["**/.svn"].each do |folder|
	File.rename(folder, folder.sub('.svn', '_svn'))
end
Advertisements
Categories: Ruby, Subversion
  1. Anonymous
    30 November, 2007 at 1:08 pm

    Thanks!!!! very helpful!

  1. No trackbacks yet.
Comments are closed.
%d bloggers like this: