Re: [Dovecot] OT: Cron Output When Deleting Files

2007-10-17 Thread Uldis Pakuls
[EMAIL PROTECTED] wrote: On Tue, 16 Oct 2007, Jeff Grossman wrote: find ./ -type f -ctime +14 | xargs rm I don't know that much about bash scripting. I would like the output to tell me how many files were deleted. Can anybody share with me how can I get that done, or point in the

[Dovecot] OT: Cron Output When Deleting Files

2007-10-16 Thread Jeff Grossman
I have a Dovecot setup for a personal e-mail server. I have a cron job setup each evening which runs the following command to delete old messages from my Deleted Items folder. find ./ -type f -ctime +14 | xargs rm I don't know that much about bash scripting. I would like the output to tell

Re: [Dovecot] OT: Cron Output When Deleting Files

2007-10-16 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 16 Oct 2007, Jeff Grossman wrote: find ./ -type f -ctime +14 | xargs rm I don't know that much about bash scripting. I would like the output to tell me how many files were deleted. Can anybody share with me how can I get that done, or

Re: [Dovecot] OT: Cron Output When Deleting Files

2007-10-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 16, 2007 at 03:17:06PM +0200, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 16 Oct 2007, Jeff Grossman wrote: find ./ -type f -ctime +14 | xargs rm I don't know that much about bash scripting. I