1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00

du: add example (#12689)

This commit is contained in:
Fazle Arefin 2024-04-29 01:11:25 +10:00 committed by GitHub
parent 134df43067
commit c8e35958e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,3 +26,7 @@
- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end:
`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):
`du --all --human-readable --threshold {{1G|1024M|1048576K}} .[^.]* *`