Find Command Syntax

Matthew Seaman m.seaman at
Wed Sep 22 10:34:56 PDT 2004

On Wed, Sep 22, 2004 at 09:04:38AM -0700, Drew Tomlinson wrote:
> On 9/22/2004 8:39 AM Matthew Seaman wrote:

> >Try:
> >
> >   find /path/to/Maildir/.Spam/cur -type f -mtime +1 -print
> >
> >Or you might want to use -ctime instead of -mtime -- I think mtime is
> >probably a more reliable measure than ctime.

> Thanks for your reply.  This seems to work.  However I'm confused.  
> Should I use -ctime or -mtime?

Hmmm... well, if you just save the Spam messages into that directory
and don't alter them after that, then mtime and ctime will actually be
the same.  Either will do.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list