Oct 052011
Exclude files when using the du to estimate disk usage
Answer:
It is easy to use du command to estimate disk usage, however, sometimes you want to ignore some files during the calculation.
To do so, try
# du -h --exclude='*.bak'
The above command will exclude all the file end with the extension .bak during the disk space calculation.