Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 06:50:04 -0500
From:      "Charles Howse" <chowse@charter.net>
To:        "'Konrad Heuer'" <kheuer2@gwdg.de>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Tar question
Message-ID:  <003201c37211$83ff4120$04fea8c0@moe>
In-Reply-To: <20030903133619.B41403-100000@gwdu60.gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> My suggestion is:
>=20
> tar cvCfz /disk2 larry.tgz .
>=20
> tar will cd to /disk2 before interpreting the dot - thus the=20
> content of
> /disk2 will be archived, but without a leading "disk2" in the table of
> contents.

Perfect!  I saw the C argument in man tar, but didn't make the
connection.
Thanks very much!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003201c37211$83ff4120$04fea8c0>