[SLL] find . -name x -amin 1
Bill Campbell
bill at celestial.com
Sat Jun 28 21:45:55 PDT 2008
On Sat, Jun 28, 2008, Xeno Campanoli wrote:
> I'm getting weird behavior from the -?min options of find. Can anyone
> else out there verify that this seems to work for them? I'm using it on
> an older CentOS system, and Hardy Heron on my laptop. I do NOT see it
> displaying stuff changed more than a minute ago for -cmin 1, for
> instance. That's what makes sense. Perhaps I'm in lala land tonight
> though.
I have never used the -cmin option to find, but reading the man
page it says ``File's status was last changed n minutes ago.''
which I take to mean that it changed at that time if you say
something like ``-cmin 1''. To specify change times more than a
minute, I think you nead ``-cmin +1''. To see things that have
changed within the last minute ``-cmin -1''.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his
wife Hillary got $8 million for hers. That's $20 million for memories from
two people who for eight years repeatedly testified they couldn't remember
anything.
More information about the linux-list
mailing list