16 Oct
2007
16 Oct
'07
4:07 p.m.
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 me how many files were deleted. Can anybody share with me how can I get that done, or point in the correct direction?
Thanks, Jeff