in reply to Deleting Files

not perl, but.. assuming that by "30 days older" you mean files that have had their content last changed 30+ days ago:
find . -mtime +30 -exec rm -v '{}' \; >logfile.txt
Be careful where you run that.

updated: added quotes

Replies are listed 'Best First'.
Re^2: Deleting Files
by mickeyn (Priest) on Oct 07, 2006 at 17:04 UTC
    find2perl ...

    will allow you to do more perlish manipulations inside the find loop.

    Enjoy,
    Mickey