Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12027

Allow "lfs find" atime/mtime/ctime with fine-grained values

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 9223372036854775807

    Description

      The normal find command can only specify time arguments in terms of whole days. The MacOS find(1) man page reports the use of unit suffixes to give greater control over the time range, such as "1h" or "1d4h":

                   If units are specified, this primary evaluates to true if the
                   difference between the file last access time and the time find
                   was started is n units.  Possible time units are as follows:
      
                   s       second
                   m       minute (60 seconds)
                   h       hour (60 minutes)
                   d       day (24 hours)
                   w       week (7 days)
                   y       year (365 days)
      

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: