Ruby script to rename windows subversion files .svn to _svn May 4th, 2006 Dir["**/.svn"].each do |folder| File.rename(folder, folder.sub('.svn', '_svn')) end