Created
April 1, 2019 16:59
-
-
Save ctengiz/692b353f80f16bed895bacf530e23a58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # du summarize and sort | |
| du -sh ./* | sort -h | |
| # Delete files older than 365 days | |
| find . -type f -mtime +365 -maxdepth 1 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment