From: Michael Witrant Date: 2001-11-08T12:36:12+09:00 Subject: [ruby-talk:24630] Re: deltree, find_depth_first On Thu, 8 Nov 2001 07:38:54 +0900, John Carter wrote: > Is there any standard way of doing "rm -rf" from Ruby that will work in a > multiplatform manner. You can use Path#delete! from the path class. It removes recursivly each entries in a path. It's availiable there: http://www.lepton.fr/ruby/path (v0.4 was just released) > Alternately is there a Find.find that will find files depth first? If you want a way to iterate with deepest items first, you can try to reverse-sort an array generated through Find.find. But I'm not sure this is what you want. Mike.