From: Gabriel Dragffy Date: 2007-09-27T00:24:39+09:00 Subject: Recursing through directories Hi there I have a simple script (untested) require 'ftools' Dir.entries( '/Volumes/' ).each |item| do File.move( item, item.gsub( /\//, '-' ) ) if File.file? item end The idea is to remove slashes from file names, I can later extend this to include other characters also. But how the deuce can I make it go in to each directoy to make sure each file is renamed even many subdirectories down? Many thanks Gabriel