[Cialug] finding files with "find" command for specific date
Afan Pasalic
afan at afan.net
Fri Sep 10 10:48:10 CDT 2010
it would be something like
find /path/to/files/log* -daystart -mtime 10
right?
On 9/10/2010 10:46 AM, Ken MacLeod wrote:
> On Fri, Sep 10, 2010 at 10:39 AM, Ken MacLeod<ken at bitsko.slc.ut.us> wrote:
>> On Fri, Sep 10, 2010 at 10:38 AM, Jeffrey Ollie<jeff at ocjtech.us> wrote:
>>> On Fri, Sep 10, 2010 at 10:32 AM, Afan Pasalic<afan at afan.net> wrote:
>>>> find /path/to/files/log* -mtime 10
>>>> I need all files for SPECIFIC day.
>> And also use -mtime -11 to restrict the time span to one day (less
>> than 11 days, greater than 10).
> Ignore that. - and + are only used for ranges. The 10 didn't have a
> + so it's exactly 10 days ago (with -daystart as Jeff mentioned).
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list