mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 02:45:53 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/du
4
tldr/du
@@ -28,9 +28,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`du -h --max-depth=N {{path/to/directory}}`
|
||||
|
||||
- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end:
|
||||
- List the human-readable size of all `.jpg` files in current directory, and show a cumulative total at the end:
|
||||
|
||||
`du -ch {{*/*.jpg}}`
|
||||
`du -ch {{./*.jpg}}`
|
||||
|
||||
- List all files and directories (including hidden ones) above a certain [t]hreshold size (useful for investigating what is actually taking up the space):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user