Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2009 18:46:05 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        =?windows-1251?Q?=CA=EE=ED=FC=EA=EE=E2_=C5=E2=E3=E5=ED=E8=E9?= <kes-kes@yandex.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to force tar to be quiet?
Message-ID:  <4B37AB6D.3020507@infracaninophile.co.uk>
In-Reply-To: <1846015154.20091227185106@yandex.ru>
References:  <1846015154.20091227185106@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2DB7EE4E793E86A71DB5BC6C
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: quoted-printable

=CA=EE=ED=FC=EA=EE=E2 =C5=E2=E3=E5=ED=E8=E9 wrote:
> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Freebsd-questions.
>=20
> when
> tar -cf file.tar /home/*
> It always says:
> tar: Removing leading '/' from member names
>=20
> man tar
> -P Preserve pathnames...
> But I do not need to preserve. I want to tar without that warning.
>=20
> How to force tar to be quiet?
>=20

Don't give the leading '/' in path names.  Like so:

   tar -cf file.tar -C / home

	Cheers,

	Matthew =20

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig2DB7EE4E793E86A71DB5BC6C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAks3q3IACgkQ8Mjk52CukIzWQwCeP2dQQizUZuc1vnjorjtkAHZF
QI0AmQEaBZt46g1q4OopkmUaOg3jU0fo
=+JOK
-----END PGP SIGNATURE-----

--------------enig2DB7EE4E793E86A71DB5BC6C--



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