From: "Rebhan, Gilbert" Date: 2007-05-14T21:18:20+09:00 Subject: Re: slow file access with mapped drives ?! Hi, Robert -----Original Message----- From: Robert Klemme [mailto:shortcutter@googlemail.com] Sent: Monday, May 14, 2007 12:20 PM To: ruby-talk ML Subject: Re: slow file access with mapped drives ?! /* Why don't you just do Dir.glob("//servername/c$/targetdir/**/"< any alternatives to Dir.glob ? /* Find.find - but don't expect that it's faster because the slowness lies in file system accesses. Network drives are inherently slower than local disks. */ it runs in almost half the time, much quicker :-) thanks for the pointer !! , now i have = config['targetdirs'].each do |dir| Find.find(dir) do |f| if f =~ /#{config['targetfilepattern']}/ puts "... processing "<