From: Rick DeNatale Date: 2007-10-14T02:53:12+09:00 Subject: Re: Better way to kill files? On 10/13/07, Cory Wilkerson wrote: > Purpose here is to find all files > 5 hours old in a directory and wipe > them... > > Of course I could just write a shell script but I wanted to leverage > ruby...or, rather, needed to leverage ruby... Not to discourage you from doing it in ruby, but you don't need to write a shell script: $man find $find ~/foo/bar -mmin 300 -delete -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/