Hello Roiy,
Friday, November 30, 2001, Zysman, Roiy <[EMAIL PROTECTED]> wrote:
>> Hi All,
>> Why not make a little challenge ..
>> Lets see who can write the most lean ,mean , elegant , powerful, poetic
>> (but most important) _Shortest_, script that cleans from a directory
>> files that are at least 3 days old.
>> Good luck all,
>> You're welcome to pick who you think is the winner.
you already has solution. do you want it especially in perl?
ok ;)
@result= `find . -newerct \'3 days ago\' -maxdepth 1 -exec rm \{\} \\;`;
Best wishes,
Maxim mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]