Find

From Just another day in the life of a linux sysadmin
Jump to navigation Jump to search

Finding Large files:

find / -type f -size +500M

Find files not used in over 60 days:

find . -mtime +60

Find files modified in the last 2 days:

find . –mtime -2

Find without permission denied errors

2>&1 | grep -v "Permission denied"

Add the above to the tail of your find command