Thread: loop script
View Single Post
  #5 (permalink)  
Old 01-06-10, 06:46
theeiledon theeiledon is offline
Registered User
 
Join Date: Nov 2004
Posts: 60
EXIT=1
while [ $EXIT -ne 0 ];do
rcp remote_server:/home/file_to_copy .
EXIT=$?
done
Reply With Quote