.sh & tar

Anh Ky Huynh xkyanh at gmail.com
Thu Jun 3 02:15:10 UTC 2010


On Thu, 03 Jun 2010 09:32:17 +0800
Aiza <aiza21 at 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


More information about the freebsd-questions mailing list