Find the files older than 30 days

Find the files that is older than 30 days:
find . -atime +30 -exec stat -c “%n %y” {} \;

Delete the files that is older than 30 days:
find . -atime +30 -print0 | xargs -0 -r rm

Reference: https://stackoverflow.com/a/21451441/126639