The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-29-2008
ShawnMilo ShawnMilo is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 252
One solution is to create a tiny "flag" file that you send last. That way, the receiving server can just wait until that file exists and it will know that the real files have arrived.

I don't know if you can predict the order in which the files would be sent in an scp session, but you can always do a quick second scp session to send the flag file.

ShawnMilo