Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By using SCP Command, File is transfered from one system to remote system. But I want to transfer whole folder from local system to remote system. So How it can be possible.

Please help me out ?

share|improve this question

scp -r user@remote.server:/path/to/directory/at/remote/server local_destination_dir

will do the trick. scp will follows symlinks encountered in the tree traversal.

share|improve this answer
If it's a big directory and changes with any frequency then you might want to look at rsync which will only copy the changed files. If it's small then stick with Pawel's scp -r. – davey Apr 28 '11 at 7:13

Your Answer


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.