Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   script (redirect output) to file and email (http://www.linux-archive.org/debian-user/430484-script-redirect-output-file-email.html)

"Pol Hallen" 09-22-2010 06:06 PM

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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 6da1b68db66a3b6a377091b6f170e6ad.squirrel@fuckarou nd.org">http://lists.debian.org/6da1b68db66a3b6a377091b6f170e6ad.squirrel@fuckarou nd.org


All times are GMT. The time now is 07:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.