On Mon, 3 Dec 2001, Jorge Goncalvez <[EMAIL PROTECTED]> wrote,

> Hi, I wonder How to delete all files under a directory in Perl
>  Thanks.

This one does it, but not recursively, and only real files, not
directories.

perl -e 'unlink <*>'


san
-- 
Trabas - http://www.trabas.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to