Merge pull request #670 from steelywing/patch-2

Add `du -m`
waldyrious/alt-syntax
Ruben Vereecken 2016-01-21 13:57:43 +02:00
commit e9d54eff3a
1 changed files with 6 additions and 2 deletions

View File

@ -4,11 +4,15 @@
- Get a sum of the total size of a file/folder in human readable units: - Get a sum of the total size of a file/folder in human readable units:
`du -sh {{file/directory}}` `du -sh {{file_or_directory}}`
- List file sizes of a directory and any subdirectories in KB: - List file sizes of a directory and any subdirectories in KB:
`du -k {{file/directory}}` `du -k {{file_or_directory}}`
- List file sizes of a directory and any subdirectories in MB:
`du -m {{file_or_directory}}`
- Get recursively, individual file/folder sizes in human readable form: - Get recursively, individual file/folder sizes in human readable form: