Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 10:21:53 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        schmidt@ze.tum.de
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Problems with piped tar
Message-ID:  <C7A4E9F8-BF8F-4565-BBC0-3874D08D15CE@cs.huji.ac.il>
In-Reply-To: <E0606B64-AF3A-4FB9-BCF8-9F7C7AE85FE7@cs.huji.ac.il>
References:  <96b7f57f-74ac-9445-1d04-61327ab111dc@ze.tum.de> <E0606B64-AF3A-4FB9-BCF8-9F7C7AE85FE7@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 23 Aug 2016, at 10:18, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>>=20
>> On 23 Aug 2016, at 10:06, Gerhard Schmidt <estartu@ze.tum.de =
<mailto:estartu@ze.tum.de>> wrote:
>>=20
>> Hi,
>>=20
>> i'm quite often use tar to copy files using
>>=20
>> tar cf - /some/dir | (cd /dest/dir; tar xvvf - )
> the =E2=80=98new=E2=80=99 way:
> 	tar cf - /some/dir | tar xvvd - -C /dest/dir
s/xvvd/xvvf/

> which of course does not explain way your version hangs, but this one =
is cleaner, and btw, don=E2=80=99t
> include /.
>=20
>>=20
>> the files are copied without a problem but the reading tar never
>> terminates and so the whole command never terminates.
>>=20
>> This is new since FreeBSD 10.
>>=20
>> Regards
>>  Estartu
>>=20
>>=20
>> --=20
>> ----------------------------------------------------------
>> Gerhard Schmidt                | E-Mail: schmidt@ze.tum.de
>> Technische Universit=C3=A4t M=C3=BCnchen | Jabber: estartu@ze.tum.de
>> WWW & Online Services          |
>> Tel: +49 89 289-25270          | PGP-PublicKey
>> Fax: +49 89 289-25257          | on request
>> _______________________________________________
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org"
>=20
> _______________________________________________
> freebsd-stable@freebsd.org <mailto:freebsd-stable@freebsd.org> mailing =
list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable =
<https://lists.freebsd.org/mailman/listinfo/freebsd-stable>;
> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org =
<mailto:freebsd-stable-unsubscribe@freebsd.org>"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C7A4E9F8-BF8F-4565-BBC0-3874D08D15CE>