broken "find" ?!

From: Sukhpreet Singh <SKS_at_email.fdncenter.org>
Date: Mon, 17 Apr 2000 12:03:56 -0400

I have an old DEC box running OSF1 V4.0. I am having a problem that I'll use
an example to illustrate.

Assuming today's date is April 7th, doing an ls -l in a directory gives me a
listing of files with Modification times of...say... April 5, April 6, and
April 7...

Now when I do a "find" for this directory using the options "-mtime +1 -exec
ls -l {} \;" I get no result. How can that be? Shouldn't I be getting a
listing of files with mod time April 5 ?

I do have a cron job running early morning that is basically a tar comand
that archives this directory on to a tape. Could "tar" be modifying the
inode of theses files somehow to make the OS or "find" think that the files
have been modified today? If that's the case, shouldn't the mod time I see
when I do an ls -l change as well?

I will appreciate any help. Thanks.

-Sukhpreet Singh
Received on Mon Apr 17 2000 - 16:08:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT