Last active
November 7, 2022 15:22
-
-
Save eraclitux/f197470dcaa19355c9b2 to your computer and use it in GitHub Desktop.
Find dirs with many files
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
| #In case of 100% of inode usage you simply copy and paste this snippet to find directories with more files | |
| find / -xdev -type f | cut -d "/" -f 2,3 | sort | uniq -c | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment