tarring over ssh question - pulling from the source to tarfiles

Garrett Cooper youshi10 at u.washington.edu
Wed Nov 2 07:26:34 PST 2005


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

>
> I do that like this:
>
> tar cf - /files | ssh user at 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 at 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


More information about the freebsd-questions mailing list