df only works if that directory happens to be a mountpoint. Otherwise, you'll have to use du, parse the output and calculate the percentage yourself.
Time flies when you don't know what you're doing
In reply to Re^2: <p>Directory used % in Linux </p>
by FloydATC
in thread Directory used % in Linux
by crazy-duck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |