ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:
I'm also opened to other suggestion on how to warn the user.my $used_space = get_used_space($path); if ($used_space >= 90) { print("Warning: please clean the directory: $path\n"); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to know how much used space of a path?
by choroba (Cardinal) on Nov 19, 2021 at 23:03 UTC | |
Re: How to know how much used space of a path?
by NERDVANA (Priest) on Nov 21, 2021 at 13:41 UTC | |
Re: How to know how much used space of a path?
by hanspr (Sexton) on Nov 20, 2021 at 05:20 UTC | |
by Fletch (Bishop) on Nov 20, 2021 at 05:48 UTC |