Name
du
Synopsis
du [options
] [directories
]
Prints disk usage (as the number of 512-byte blocks used by each named directory and its subdirectories; default is current directory).
Options
-
-a
Print usage for all files, not just subdirectories.
-
-c
In addition to normal output, print grand total of all arguments.
-
-H
Follow symbolic links, but only if they are command-line arguments.
-
-k
Print sizes in kilobytes.
-
-L
Follow symbolic links.
-
-P
Don’t follow any symbolic links.
-
-s
,--summarize
Print only the grand total for each named directory.
-
-x
,--one-file-system
Display usage of files in current filesystem only.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.