Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2005 07:26:28 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: tarring over ssh question - pulling from the source to tarfiles
Message-ID:  <73D76351-1187-430A-A309-60AE2850BDEB@u.washington.edu>
In-Reply-To: <Pine.LNX.4.21.0511020211270.8180-100000@shell.dhp.com>
References:  <Pine.LNX.4.21.0511020211270.8180-100000@shell.dhp.com>

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

On Nov 1, 2005, at 11:20 PM, user wrote:

>
> I do that like this:
>
> tar cf - /files | ssh user@10.0.0.10 "cat >
> /usr/home/user/file_data2.tar"
>
> or if I want to split it into multiple files:
>
> tar cf - /files | ssh user@10.0.0.10 "split - -b 1024m
> /usr/home/user/file_data2.tar"
>
> This works just fine.
>
> -----
>

	Have you tried using scp as opposed to SSH? I'm not sure if the  
piping of output would work correctly, but it's a thought.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73D76351-1187-430A-A309-60AE2850BDEB>