Re: Problems with piped tar

2016-08-23 Thread Gary Palmer
On Tue, Aug 23, 2016 at 02:27:46PM +0200, Gerhard Schmidt wrote: > Am 23.08.2016 um 13:31 schrieb Gary Palmer: > > On Tue, Aug 23, 2016 at 09:35:12AM +0200, Gerhard Schmidt wrote: > >> Am 23.08.2016 um 09:18 schrieb Daniel Braniss: > >>> > On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: > >>

Re: Problems with piped tar

2016-08-23 Thread Gerhard Schmidt
Am 23.08.2016 um 13:31 schrieb Gary Palmer: > On Tue, Aug 23, 2016 at 09:35:12AM +0200, Gerhard Schmidt wrote: >> Am 23.08.2016 um 09:18 schrieb Daniel Braniss: >>> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: Hi, i'm quite often use tar to copy files using t

Re: Problems with piped tar

2016-08-23 Thread Gary Palmer
On Tue, Aug 23, 2016 at 09:35:12AM +0200, Gerhard Schmidt wrote: > Am 23.08.2016 um 09:18 schrieb Daniel Braniss: > > > >> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: > >> > >> Hi, > >> > >> i'm quite often use tar to copy files using > >> > >> tar cf - /some/dir | (cd /dest/dir; tar xvvf -

Re: Problems with piped tar

2016-08-23 Thread Arrigo Marchiori via freebsd-stable
Hello, On Tue, Aug 23, 2016 at 09:35:12AM +0200, Gerhard Schmidt wrote: > Am 23.08.2016 um 09:18 schrieb Daniel Braniss: > > > >> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: > >> > >> Hi, > >> > >> i'm quite often use tar to copy files using > >> > >> tar cf - /some/dir | (cd /dest/dir; ta

Re: Problems with piped tar

2016-08-23 Thread Daniel Braniss
> On 23 Aug 2016, at 10:35, Gerhard Schmidt wrote: > > Am 23.08.2016 um 09:18 schrieb Daniel Braniss: >> >>> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: >>> >>> Hi, >>> >>> i'm quite often use tar to copy files using >>> >>> tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) >> the ‘new’

Re: Problems with piped tar

2016-08-23 Thread Gerhard Schmidt
Am 23.08.2016 um 09:18 schrieb Daniel Braniss: > >> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: >> >> Hi, >> >> i'm quite often use tar to copy files using >> >> tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) > the ‘new’ way: > tar cf - /some/dir | tar xvvd - -C /dest/dir > which of

Re: Problems with piped tar

2016-08-23 Thread Daniel Braniss
> On 23 Aug 2016, at 10:18, Daniel Braniss wrote: > >> >> On 23 Aug 2016, at 10:06, Gerhard Schmidt > > wrote: >> >> Hi, >> >> i'm quite often use tar to copy files using >> >> tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) > the ‘new’ way: > tar cf - /some/

Re: Problems with piped tar

2016-08-23 Thread Daniel Braniss
> On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: > > Hi, > > i'm quite often use tar to copy files using > > tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) the ‘new’ way: tar cf - /some/dir | tar xvvd - -C /dest/dir which of course does not explain way your version hangs, but this

Problems with piped tar

2016-08-23 Thread Gerhard Schmidt
Hi, i'm quite often use tar to copy files using tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) the files are copied without a problem but the reading tar never terminates and so the whole command never terminates. This is new since FreeBSD 10. Regards Estartu -- ---