
copy | deblank | delete | deltree | filefind | filetime | fixfile | index | list | mkdir | name | olist | partcopy | rename | setbytes | space | sync | touch | treesize | Команда: treesize sfk treesize [-minsize=n] dir [-i]
sfk stat [mb] dir
show directory tree size statistics in mbytes.
hidden and system files are included by default,
to make sure the real size usage is always shown.
options
-minsize=n list only dirs and files with a size larger
or equal to this, e.g. 100 = 100 bytes,
10k = 10 kbytes, 10m = 10 megabytes.
-i read list of directories from stdin.
-nohidden exclude hidden and system files.
-nosum print no summary at end of listing.
-sum print only the summary.
-gb[ytes] list all sizes in gigabytes.
-kb[ytes] list all sizes in kilobytes.
-bytes list all sizes in bytes.
-flat show the no. of files and bytes per folder
without its subfolders (do not accumulate).
-flist x read a list of filenames from file x
aliases
sfk stat10 does the same as sfk stat -minsize=10m
sfk treesize100 does the same as sfk stat -minsize=100m
limitations
this command cannot summarize zip file contents.
web reference
http://stahlworks.com/sfk-stat
examples
sfk stat . -minsize=10m
list sizes of all directories below the current one
having a size of at least 10 mbytes.
sfk stat50 docs
list all directories and single files under the docs
directory tree having a size of >= 50 mbytes.
type dirlist.txt | sfk stat -quiet -i
list sizes of dirs listed in dirlist.txt |
![]() |