'find' command is not returning files older than two days

Solution Verified - Updated -

Issue

  • We're searching for files older than two days in a mount point, but there is no output.
  • We're trying to delete files older than two days in a NFS mount point, but the following command doesn't return any files:
# find /mount/point/ -type f -atime +2
# find /mount/point/ -type f -ctime +2
# find /mount/point/ -type f -mtime +2

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content