mirror of
https://github.com/nushell/nushell.git
synced 2024-12-03 05:44:09 +01:00
28 lines
562 B
Markdown
28 lines
562 B
Markdown
---
|
|
title: du
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
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
|
|
```shell
|
|
> du
|
|
```
|