HI All,
I have a script in bash that i want that script will perform action
When the size of a particular folder exceeds the 80%.
Here is an example of script that result is exactly 80% :
#!/bin/bash
CHECK=$(df -h /var/log/syslog | grep '80%' | xargs echo | cut -d' ' -f5)
if [[ "$CHECK" == "80%" ]];
then
"
.
What are the parameters that should be insert to the script that once the
folder size will cross the 80% , ...
Thank you.