linux:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:start [2023-09-25 20:33] – [Date] dave | linux:start [2024-02-27 15:19] (current) – dave | ||
---|---|---|---|
Line 5: | Line 5: | ||
* [[inputrc]] | * [[inputrc]] | ||
* [[Services]] | * [[Services]] | ||
+ | * [[rclone]] | ||
----------------------- | ----------------------- | ||
Line 41: | Line 42: | ||
find . -maxdepth 1 -name " | find . -maxdepth 1 -name " | ||
</ | </ | ||
+ | |||
+ | # to delete empty dirs | ||
+ | < | ||
+ | find -type d -empty -delete | ||
+ | </ | ||
+ | # to delete files over some age & empty dirs | ||
+ | < | ||
+ | find /some/path -depth \( \( -type f -daystart -mtime +100 \) -o -type d -empty \) -ls | ||
+ | </ | ||
+ | |||
----------------------- | ----------------------- | ||
+ | ===== Find the Fat Folder ===== | ||
+ | Useful for finding which directory is sucking up all your disk space. | ||
+ | < | ||
+ | du -h --max-depth=1 | sort -hr | ||
+ | </ | ||
linux/start.1695673990.txt.gz · Last modified: 2023-09-25 20:33 by dave