From: Charles Hixson Date: 2002-08-07T06:35:16+09:00 Subject: Re: HT delete all files in a directory... Kurt Euler wrote: > Rubites: > > Newbie question: What's the Ruby command to unconditionally delete all > files in a directory? > > Thanks! > > -Kurt > "`rm -Rf *`" That should do the job. Are you sure that's what you want? (The backquote is similar to the shell backquote.) P.S.: I haven't tried this. If you really are thinking of doing it, I would definitely recommend that you use a full path name rather than just a glob. -- -- Charles Hixson Gnu software that is free, The best is yet to be.