new page for du

waldyrious/alt-syntax
Shrayas Rajagopal 2014-01-27 10:45:51 +05:30
parent c46ea1c9bf
commit 58308e3b36
1 changed files with 19 additions and 0 deletions

19
osx/du.md Normal file
View 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`