bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14991] mtime documented incorrect or bug?


From: Andreas Metzler
Subject: [bug #14991] mtime documented incorrect or bug?
Date: Thu, 17 Nov 2005 19:25:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

Follow-up Comment #1, bug #14991 (project findutils):

The documentation of the current release says this:

 -atime n   File was last accessed n*24 hours ago.  When  find
  figures  out how  many  24-hour  periods  ago the file was last 
  accessed, any fractional part is ignored, so to match -atime
  +1, a file has to have been accessed at least two days ago.

(and the docs for mtime contain apointer to this paragraph)

----------------------------

-mtime +1 means "The number days since the file was modified is greater than
1".

address@hidden:/tmp/foo$ for i in `seq 23 49` ; do touch -d "$i hours ago"
$i ; done
address@hidden:/tmp/foo$ find -mtime +1
./49
./48
address@hidden:/tmp/foo$ find --version
GNU find Version 4.2.25

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14991>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]