From: Robert Klemme Date: 2010-09-04T23:55:10+09:00 Subject: Re: Slow Find.find - real problem On 04.09.2010 13:24, Stuart Clarke wrote: > I have a real head ache and would really appreciate any advice. > > I have a folder with 100,000's of files within it and I need to run a > rename process across these. > My issue is this is very very slow and is taking about an hour to do 10 > file renames. Is there any way I can speed this up? Brian gave excellent advice already. I'd just want to point out that keeping hundred thousands of files in a single directory (do you?) is generally slow on most file systems. If possible distributing them across several directories generally helps speed up things. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/