nushell/docs/commands/du.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

563 B

title layout version
du command 0.59.0

Find disk usage sizes of specified items.

Signature

> du (path) --all --deref --exclude --max-depth --min-size

Parameters

  • path: starting directory
  • --all: Output file sizes as well as directory sizes
  • --deref: Dereference symlinks to their targets for size
  • --exclude {glob}: Exclude these file names
  • --max-depth {int}: Directory recursion limit
  • --min-size {int}: Exclude files below this size

Examples

Disk usage of the current directory

> du