On Thu, 8 Nov 2001 07:38:54 +0900, John Carter <john.carter / tait.co.nz>
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.