Check inode through:
df -i
To count all the files in a directory and all it's subdirectories:
df -i
To count all the files in a directory and all it's subdirectories:
$ for i in /*; do echo $i; find $i | wc -l; doneThen you can narrow down your search by replacing the
/* for any directory that has an unusually large number of files in. For me it was /var$ for i in /var/*; do echo $i; find $i | wc -l; done
Delete when rm fails:
find . -mtime +2 -name '*' -delete
No comments:
Post a Comment