Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 09:04: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:  <4151A296.90505@mykitchentable.net>
In-Reply-To: <20040922153904.GA16792@happy-idiot-talk.infracaninophile.co.uk>
References:  <4151998F.205@mykitchentable.net> <20040922153904.GA16792@happy-idiot-talk.infracaninophile.co.uk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 9/22/2004 8:39 AM Matthew Seaman wrote:

>On Wed, Sep 22, 2004 at 08:26:07AM -0700, Drew Tomlinson wrote:
>  
>
>>I'm trying to write a script to feed the mail in my spam folder to 
>>Spamassassin's sa-learn and then delete the mails older than 1 day in 
>>that spam folder.  Here's my current directory listing:
>>    
>>
>
>  
>
>>I'm trying to use the find command to do the deleting but am having 
>>trouble with the syntax.  For testing, I'm using this command:
>>
>>blacklamb> find /path/to/Maildir/.Spam/cur \! -newerct 1d -print
>>blacklamb>
>>
>>It finds nothing.  I read in the manual that time specifications don't 
>>have much meaning without the '-' or '+' operator so I try adding it:
>>    
>>
>
>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?

Drew

-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com


[-- Attachment #2 --]
0	*H
010	+0	*H
0W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO100i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0	+0	*H
	1	*H
0	*H
	1
040922160438Z0#	*H
	1wM|cS9G)M;0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0x	+71k0i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0z*H
	1ki0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0
	*H
#h#,k"Żf q)Vj	lYd<DfP(DZ:C]([-
MqtB6ha/.DuQ/TE$\ԝ'6',`39`s`$
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4151A296.90505>