URL:
<http://savannah.gnu.org/bugs/?23065>
Summary: -daystart measures from start of tomorrow - manual
incorrect
Project: findutils
Submitted by: jlevi
Submitted on: Saturday 26/04/08 at 12:25
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
_______________________________________________________
Details:
The find manual states that the "-daystart" option causes find to measure
relative times from the start of "today" i.e if today is 1st January 2008 it
would measure from "00:00:00 01/01/2008"
In actual fact, with the -daystart option find measures from the start of
tomorrow i.e if today is 1st January 2008, it measures from "00:00:00
02/01/2008"
Example
Create a file with time 10 minutes from end of today:
$ touch -d 'today 23:50' testfile
Find files more than 5 minutes older than "daystart":
$ find ./testfile -daystart -mmin +5
./testfile
According to the manual the above command should not find "testfile". The
manual needs updating with the correct behaviour of this command.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23065>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/