Re: keeping tar quiet in script

2007-04-01 Thread Cédric Lucantis
Le samedi 31 mars 2007 21:55, Jorge Peixoto de Morais Neto a écrit : > > 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 >

Re: keeping tar quiet in script

2007-03-31 Thread Roberto C . Sánchez
On Sat, Mar 31, 2007 at 05:01:31PM -0300, Jorge Peixoto de Morais Neto wrote: > > > > > >What about the classical "1> /dev/null 2>&1"? > > This probably has identical behavior identical to &> /dev/null, but is > longer to type. > &>/dev/null seems less portable. Here I have bash and dash, and &>/d

Re: keeping tar quiet in script

2007-03-31 Thread Peter Teunissen
On 31-mrt-2007, at 21:56, Jorge Peixoto de Morais Neto wrote: On 3/31/07, Jorge Peixoto de Morais Neto <[EMAIL PROTECTED]> wrote: 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 > /

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
What about the classical "1> /dev/null 2>&1"? This probably has identical behavior identical to &> /dev/null, but is longer to type. &>/dev/null seems less portable. Here I have bash and dash, and &>/dev/null does not work under dash. "1> /dev/null 2>&1" works everywhere. -- Software is like

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
On 3/31/07, Jorge Peixoto de Morais Neto <[EMAIL PROTECTED]> wrote: 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 > ke

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
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 stdou

Re: keeping tar quiet in script

2007-03-31 Thread Pierre THIERRY
Scribit Peter Teunissen dies 31/03/2007 hora 21:48: > Adding > /dev/null doesn't help. What can I do to catch tar's output > and keep it from shouting all over the place? What about the classical "1> /dev/null 2>&1"? Quicky, Pierre -- [EMAIL PROTECTED] OpenPGP 0xD9D50D8A signature.asc Descrip

keeping tar quiet in script

2007-03-31 Thread Peter Teunissen
Hi all, 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? Tnx, Peter -