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.

What are some good ways to move file from a development site on a linux server to another linux server (which would be production). I will be working from a Vista system. Basically, I'd like to just doubleclick a batch file or something along those lines to initiate the copy. Thanks!

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You can script Windows command-line FTP and put it in a batch/cmd file. See here and here for detailed instructions.

share|improve this answer
    
Thanks! That was exactly what I was looking for. –  patricksweeney Apr 25 '10 at 16:54
add comment

from the dev server:

$rsync avz /path/to/your/content otherserver:/path/to/your/content

set up ssh public keys and it will copy without a password. many linux distros have a script ssh-copy-id which automates this:

$ssh-copy-id otherserver
share|improve this answer
    
Now would I be able to trigger this by a batch file on my local Vista system? –  patricksweeney Apr 25 '10 at 2:10
add comment

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.