On 25 Jul 2005, at 16:22, Kyle Heon wrote:

> Can anyone point me in the direction of how to walk a directory tree
> recursively?
>
> I'm not having much luck finding code samples via Google.

require 'find'

Find.find('/your/path') do |f|
   # if you want to skip all dirs
   next if File.directory? f
   puts "at: #{f}"
end

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04