mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 17:58:42 +00:00
Update cheatsheets
This commit is contained in:
29
ncdu
Normal file
29
ncdu
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ncdu
|
||||
|
||||
> Disk usage analyzer with an ncurses interface.
|
||||
> More information: <https://manned.org/ncdu>.
|
||||
|
||||
- Analyze the current working directory:
|
||||
|
||||
`ncdu`
|
||||
|
||||
- Colorize output:
|
||||
|
||||
`ncdu --color {{dark|off}}`
|
||||
|
||||
- Analyze a given directory:
|
||||
|
||||
`ncdu {{path/to/directory}}`
|
||||
|
||||
- Save results to a file:
|
||||
|
||||
`ncdu -o {{path/to/file}}`
|
||||
|
||||
- Exclude files that match a pattern, argument can be given multiple times to add more patterns:
|
||||
|
||||
`ncdu --exclude '{{*.txt}}'`
|
||||
Reference in New Issue
Block a user