mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
new page for du
This commit is contained in:
parent
c46ea1c9bf
commit
58308e3b36
1 changed files with 19 additions and 0 deletions
19
osx/du.md
Normal file
19
osx/du.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# du
|
||||
|
||||
> Estimate file space usage
|
||||
|
||||
- get file sizes of directory's content
|
||||
|
||||
`du {{file/directory}}`
|
||||
|
||||
- get total size in human readable form
|
||||
|
||||
`du -sh {{file/directory}}`
|
||||
|
||||
- get recursively, individual file/folder sizes in human readable form
|
||||
|
||||
`du -ah {{directory}}`
|
||||
|
||||
- get file sizes till a specified depth
|
||||
|
||||
`du --max-depth=1`
|
Loading…
Add table
Reference in a new issue