Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2010 18:47:01 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: .sh & tar
Message-ID:  <20100605184701.e8367487.freebsd@edvax.de>
In-Reply-To: <AANLkTilgcKMC9Ln5MLNuhJ2JMiXXYCB_3Br2YsehKcNy@mail.gmail.com>
References:  <4C070621.5060109@comclark.com> <20100603134212.f1b9b1c0.freebsd@edvax.de> <AANLkTilbh89RNAsy_oqkNIichFiURPjwiuJOYyLcqq_z@mail.gmail.com> <20100603151125.GA44719@libertas.local.camdensoftware.com> <AANLkTilgcKMC9Ln5MLNuhJ2JMiXXYCB_3Br2YsehKcNy@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Jun 2010 12:27:09 -0400, "illoai@gmail.com" <illoai@gmail.com> wr=
ote:
> On 3 June 2010 11:11, Chip Camden <sterling@camdensoftware.com> wrote:
> > On Jun 03 2010 10:03, illoai@gmail.com wrote:
> >> On 3 June 2010 07:42, Polytropon <freebsd@edvax.de> wrote:
> >> > Depends on WHAT you want to stop - the illness or just its symptoms.=
 :-)
> >> >
> >> > If it's just about symptoms, redirect the error messages into
> >> > nirvana.
> >> >
> >> > =A0 =A0 =A0 =A0tar [opts] [file] 1>/dev/null 2>&1
> >> >
> >> > If you want to remove the REASON for "tar: Removing leading '/'
> >> > from member names", you need to re-create the archives and
> >> > start archiving from a relative point (instead of from an
> >> > absolute one), e. g.
> >> >
> >> > =A0 =A0 =A0 =A0# cd /
> >> > =A0 =A0 =A0 =A0# tar cvf etc.tar etc/
> >> >
> >> > (lazy man's method) instead of
> >> >
> >> > =A0 =A0 =A0 =A0# tar cvf etc.tar /etc/
> >> >
> >> > The extraction of the archive will usually start in the
> >> > current directory, so
> >> >
> >> > =A0 =A0 =A0 =A0# cd /usr/local/bin
> >> > =A0 =A0 =A0 =A0# tar xvf etc.tar
> >> >
> >> > won't give you an etc/ subtree in /usr/local/bin directory.
> >> >
> >>
> >> tar -cvf - ./ -C / > /dev/null
> >> ?
> >>
> > I can't help wondering why the 'v' option is being specified, unless
> > /dev/null needs more playing time.
>=20
> Reflex, but you're right, it shouldn't be in there.

Your tenmelonhundredgigahertz plentycore machines have to process
useless amounts of data to be discarded, or they wouldn't be
worth their price. :-)

Seriously, pure reflex. No -v needed here as you are not interested
in monitoring the process.




--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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