[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[bash] script (redirect output) to file and email



Hi folks! :-)

I try to redirect output of this script to file (using tee) and also send
it to mail

the script deletes files older than 150days:

find /share/.trash/ -type f -atime +150 -exec rm -fr {}  \;

how can I do this?

thanks!

Pol



Reply to: