Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?

share|improve this question

1 Answer 1

Use cron to invoke rsync in order to transfer/sync files over SSH.

share|improve this answer
1  
@Aman: If you really mean "move" (as in mv) rather than "copy" (as in cp), rsync has an option --remove-source-files –  RedGrittyBrick Jun 22 '11 at 16:45
    
corrected! thanks –  Aman Singh Jun 22 '11 at 16:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.