> -----Original Message-----
> From: Alex Harris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: append local file to remote file
> 
> 
> Apologies for the loosely interpreted perl issue below.
> 
> I have rsh on my system and nothing else is available that I 
> know of.  I 
> need to send a local file to a remote system and APPEND the 
> local file to 
> the remote file.  All I can find in the man pages however is 
> how to do just 
> the reverse.  I realize that I can rcp it over then do the 
> remote file 
> append to remote file, but I'd like to do the whole process 
> in ONE step not 
> two.  Any ideas?  Anything in Perl?

Does the remote system have ftp running? If so, you could use
the Net::FTP module to append to the remote file.

Or, if you want to use rsh, how about something like:

  $ rsh remotehost 'cat >>remotefile' <localfile

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to