Re: tar - ssh - standard out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 8/12/2010 8:46 AM, Tom Brown wrote:
>> Why not just do
>>
>> `the thing that generates standard out here` | ssh -q 192.168.122.2 dd of=somethin
>>
>>
>> eg
>>
>> find . | ssh -q 192.168.122.2 dd of=find.out
>>
>> You don't need tar for anything.
>
>
> alas the thing that generates the output creates 5 or 6 seperate
> streams in sequence that generate 5 or 6 log files but i dont know in
> advance the names of these logs.

You'll have to explain how the streams get sorted out locally before 
anyone can help you do it remotely.  Maybe the program itself could 
piped each stream through a separate ssh instance.  Or if you can wait 
for output to complete, collect all the files in an otherwise empty 
directory and rsync the whole thing to the remote.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux