in reply to Finding biggest files
I agree with the posters above on using find. But of course,
you want to run this program every once in a while and
you haven't figured out how to do shell programming so you
combine the two and put in the program in perl!
---
Crulx
crulx@iaxs.net
Ahh, Sweet perl.#!/usr/bin/perl system(qq[find ~ -size +1024k -printf "%p: %s\\n" -ok rm \\;]) == 0 or die "System call failed: $?";
---
Crulx
crulx@iaxs.net
In Section
Seekers of Perl Wisdom