View Single Post
  #2   (View Single Post)  
Old 6th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

An alternative solution is you can put the data to a file locally, then SCP that file to the remote box.

Example:
I want to add today's date to file foo, and copy it to another box.

Code:
echo `date` >> /path/to/foo
scp /path/to/foo foouser@barserver:/path/to/foo
Don't know if that'll work for you, but it's a solution.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote