Re: keeping tar quiet in script
- From: "Jorge Peixoto de Morais Neto" <please.no.spam.here@xxxxxxxxx>
- Date: Sat, 31 Mar 2007 16:56:49 -0300
On 3/31/07, Jorge Peixoto de Morais Neto <please.no.spam.here@xxxxxxxxx>
wrote:
I'm sorry, hit "send" by accident.
I'm using a simple script for making backups with tar. I can't make tar
> quiet, so cron keeps mailing me 'Removing leading `/' from member names' .
> Adding > /dev/null doesn't help. What can I do to catch tar's output and
> keep it from shouting all over the place?
>
a "> /dev/null" redirects stdout to /dev/null, but stderr is left
untouched.
a "&> /dev/null" redirects both stdout and stderr to /dev/null.
A google search for redirection bash brings you here:
I meant:
A google search for [redirection bash] brings you here:
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
Tnx,
>
>
> Peter
>
> -- Never argue with idiots; they'll drag you down to their own level and
> beat you on experience.
>
>
>
>
--
Software is like sex: it is better when it is free.
--
Software is like sex: it is better when it is free.
- Follow-Ups:
- Re: keeping tar quiet in script
- From: Peter Teunissen
- Re: keeping tar quiet in script
- References:
- keeping tar quiet in script
- From: Peter Teunissen
- Re: keeping tar quiet in script
- From: Jorge Peixoto de Morais Neto
- keeping tar quiet in script
- Prev by Date: Re: keeping tar quiet in script
- Next by Date: Re: Which OS? Was "I do consider Ubuntu to be Debian" , Ian Murdock
- Previous by thread: Re: keeping tar quiet in script
- Next by thread: Re: keeping tar quiet in script
- Index(es):
Relevant Pages
- Re: Question for oldies
... >>A quick Google search. ... >>racy and the subject matter
was, well, sex. ... You've always known the song 'cause it ... (misc.news.internet.discuss) - Re: Question for oldies
... There are so many versions of the lyrics. ... >>A quick Google search.
... >>and the subject matter was, well, sex. ... You've always known the song
'cause it ... (misc.news.internet.discuss)