Date: Wed, 22 Sep 2004 10:47:38 -0700 From: Drew Tomlinson <drew@mykitchentable.net> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Find Command Syntax Message-ID: <4151BABA.30300@mykitchentable.net> In-Reply-To: <20040922173451.GA18351@happy-idiot-talk.infracaninophile.co.uk> References: <4151998F.205@mykitchentable.net> <20040922153904.GA16792@happy-idiot-talk.infracaninophile.co.uk> <4151A296.90505@mykitchentable.net> <20040922173451.GA18351@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms080309050407030500040605 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 9/22/2004 10:34 AM Matthew Seaman wrote: >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. > > OK, I'm trying to understand the difference. According to the manual -ctime is "change of file status" and -mtime is "last modification time". I think I understand what modification means (changing the contents of the file) but what is "change of file status"? In my particular situation, while reviewing my spam folder for possible "ham", my IMAP client may change the message status from unread to read. How would this affect the actual message file? Thanks again! Drew --------------ms080309050407030500040605 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH+TCC AlcwggHAoAMCAQICA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ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMNES4wegYLKoZIhvcNAQkQ Agsxa6BpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5 KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQID DREuMA0GCSqGSIb3DQEBAQUABIGACNypVk3KLTjuN8KEOu3CN3PynFJwM6aA0IprzOumJJIp rgCRP/G65V8lxckdlGG4+eMoulolcLq/5Ud0b1wz88+CnpIfzQ0RE9F4CrZoinvBKy8FTvSI K4e5V6DiAqmaHby3yLNooK+RtBy/h8uxvhIGh029hZ8Z2axbirObISoAAAAAAAA= --------------ms080309050407030500040605--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4151BABA.30300>