sourcingbas.blogg.se

Foldersizes 6 0 47 professional edition
Foldersizes 6 0 47 professional edition











foldersizes 6 0 47 professional edition

! -type d -print0 | xargs -r0 stat -c %s | paste -sd+ - | bc To get the straightforward total size of all files in the directory, the following one-line shell expression can be used (assuming a GNU system): find.

foldersizes 6 0 47 professional edition

If there are hard links in the directory, then du may print smaller value as well because several different files in the directory refer the same data on the media. If the file system is compressible, then du may output even smaller number than the total size of all files, because files may be internally compressed by the file system and so they take less space on the media than just uncompressed information they contain.

foldersizes 6 0 47 professional edition

Note that du prints the space that a directory occupy on the media which is usually bigger than just the total size of all files in the directory, because du takes into account the size of all auxiliary information that is stored on the media to organize the directory in compliance with file system format.













Foldersizes 6 0 47 professional edition