learnbash
July 27th, 2010, 01:31 AM
Hello folks,
i have a file courierimapuiddb that have contents like
1 1280206508 4
1 1280206466.V805I169cM853838.xxx
2 1280207962.V805I16d5M343672.xxx
3 1280208055.V805I16d6M20816.xxx
1280206508 above means total size and its decreasing when file added in directory. when total size utilization >= 90% then i got notification that you have how many percent left space. It will read from first line to last line to get how much percent left.
I want to check above things under below all directories where that file "courierimapuiddb" exist.
/directory/name/
thanks.
i have a file courierimapuiddb that have contents like
1 1280206508 4
1 1280206466.V805I169cM853838.xxx
2 1280207962.V805I16d5M343672.xxx
3 1280208055.V805I16d6M20816.xxx
1280206508 above means total size and its decreasing when file added in directory. when total size utilization >= 90% then i got notification that you have how many percent left space. It will read from first line to last line to get how much percent left.
I want to check above things under below all directories where that file "courierimapuiddb" exist.
/directory/name/
thanks.