I decided to make a short note about how to find file which were recently modifed and also they have a quite big size.
It's to find the cause of disk overfill.
find /var -type f -size +100M -exec stat --format '%Y :%y %n' {} \; | sort -nr | cut -d: -f2- | head
solution has been got from http://stackoverflow.com/questions/5566310/how-to-recursively-find-and-list-the-latest-modified-files-in-a-directory-with-s .
It's to find the cause of disk overfill.
find /var -type f -size +100M -exec stat --format '%Y :%y %n' {} \; | sort -nr | cut -d: -f2- | head
solution has been got from http://stackoverflow.com/questions/5566310/how-to-recursively-find-and-list-the-latest-modified-files-in-a-directory-with-s .
No comments:
Post a Comment