bash_oneliners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
bash_oneliners [2018/04/23 12:31] – admin | bash_oneliners [2020/06/05 09:46] – admin | ||
---|---|---|---|
Line 13: | Line 13: | ||
< | < | ||
$ find . -printf '%s %p\n' | $ find . -printf '%s %p\n' | ||
+ | </ | ||
+ | * size of all files older than mtime | ||
+ | < | ||
+ | $ find . -mtime +7 -print0 | du -hc --files0-from - | tail -n 1 | ||
</ | </ | ||
* To find the largest file in all sub-directories: | * To find the largest file in all sub-directories: |
bash_oneliners.txt · Last modified: 2023/07/27 13:28 by admin