Drew Tomlinson wrote:
I've also tried a combination of adding ()'s around the expression but
that hasn't worked either. What am I missing? Is this an appropriate
choice for what I want to do? Is there another command better suited
for this task?
Use quotes
# find . -name aaa -print differs
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
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
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.
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
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,
On Wed, Sep 22, 2004 at 10:47:38AM -0700, Drew Tomlinson wrote:
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
On 9/22/2004 11:23 AM Matthew Seaman wrote:
On Wed, Sep 22, 2004 at 10:47:38AM -0700, Drew Tomlinson wrote:
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