diff --git a/cheatsheets/find b/cheatsheets/find index c6126b3..34cec7f 100644 --- a/cheatsheets/find +++ b/cheatsheets/find @@ -39,3 +39,6 @@ find . -maxdepth 2 -name build -type d # To search all files who are not in .git directory find . ! -iwholename '*.git*' -type f + +# Show number of inode used in current and sub directories +sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n