hi dabba dabba,

  maybe the Find module will help - 
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/find/rdoc/Find.html -

  it's great for recursively scanning directories and finding files 
without opening either.  it works something like:

  Find.find(directory){|path| do_something(path)}

  you could then use the File class to do whatever you need to do...


  hth-

  j

-- 
Posted via http://www.ruby-forum.com/.