merge documents with scp

Carruth, Rusty Rusty.Carruth at smartstoragesys.com
Fri Apr 27 13:07:47 MST 2012


Fast answer:

 

ssh me at foosystem 'cat the_Remote_file' >> localfile

 

Explanation:

 

                On system 'foosystem' (as me), cat the file.  On this
system, append that stream of bytes to 'localfile'.

 

Should you want to 'tail -f' the file on 'foosystem', change 'cat' to
'tail -f'.  (Or grep, or ...)

 

Rusty

 

.

 

From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Michael Havens
Sent: Friday, April 27, 2012 1:05 PM
To: Main PLUG discussion list
Subject: merge documents with scp

 

is there a way to tell scp to add any appended text to an existing
document? (that's called 'merge', right?)

-- 
:-)~MIKE~(-:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120427/5b2bc7cd/attachment.html>


More information about the PLUG-discuss mailing list