Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Rob on March 27, 2002, 07:30:23 AM

Title: how does tar mail it's verbosity?
Post by: Rob on March 27, 2002, 07:30:23 AM
Hi

I'm running a script using tar for backup and I can't remember the command to get the output mailed to root

Can anyone help?

Thanks

Rob
Title: Re: how does tar mail it's verbosity?
Post by: JohnC on March 27, 2002, 03:21:42 PM
try

tar | sendmail root@localhost
Title: Re: how does tar mail it's verbosity?
Post by: Rob on March 28, 2002, 01:49:28 AM
Great

Thanks. That jogged my memory

| mail

works also

Thanks again
Rob