Add find cheat: show number of inodes used

This commit is contained in:
JrCs 2014-02-24 11:36:45 +01:00
parent e268ba3df2
commit 9997883359
1 changed files with 3 additions and 0 deletions

View File

@ -39,3 +39,6 @@ find . -maxdepth 2 -name build -type d
# To search all files who are not in .git directory # To search all files who are not in .git directory
find . ! -iwholename '*.git*' -type f 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