Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I would like to write a program to check all files sizes within the current directory. If a file is below 300K, it is deleted. I am current unsure about how exactly to check the file size. Any suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: checking file size
by tinman (Curate) on Apr 19, 2001 at 07:41 UTC | |
Re: checking file size
by Albannach (Monsignor) on Apr 19, 2001 at 07:45 UTC | |
Re: checking file size
by Rhandom (Curate) on Apr 19, 2001 at 09:11 UTC | |
by merlyn (Sage) on Apr 19, 2001 at 17:16 UTC | |
Re: checking file size
by Masem (Monsignor) on Apr 19, 2001 at 07:31 UTC |
Back to
Seekers of Perl Wisdom