Note that even using -s to sum the sizes of the files in a directory has its problems - you have consider symlinks and hardlinks. The former may cause loops, or point to a totally different part of the filesystem, while hardlinks may cause you to count files two or more times if you aren't tracking inodes.
In reply to Re^4: How to find folder size
by JavaFan
in thread How to find folder size
by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |