Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2010 09:14:56 +0700
From:      "Anh Ky Huynh" <xkyanh@gmail.com>
To:        Aiza <aiza21@comclark.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: .sh & tar
Message-ID:  <20100603091456.4dc9dc8f@icy.localdomain>
In-Reply-To: <4C070621.5060109@comclark.com>
References:  <4C070621.5060109@comclark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 03 Jun 2010 09:32:17 +0800
Aiza <aiza21@comclark.com> wrote:

> When I exec tar from within a .sh shell script I get this message
> tar: Removing leading '/' from member names
> I have tar outputting to > /dev/null and still get this message.
> With -v or without makes no difference.
> 
> How can I stop this

How about
	tar ... 1>/dev/null 2>&1
?

-- 
Anh Ky Huynh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100603091456.4dc9dc8f>