• Find files OLDER than x days:
    find . -type f -mtype +x -print 2>/dev/null

    x=number of days

  • Find oldest file:
    find . -type f -exec stat -c "%n %y" {} \;|sort|uniq|head -1
  • Find files modified in some specific day:
    for file in $(find somepath -type f -print 2>/dev/null); do
    [ "$(date -I -r "${file}")" == "yyyy-mm-dd" ] && dosomething...
    done
  • Find only files – exclude directories:
    <pre><code>find . -name xxx -not -type d