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

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

1 Answer 1

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.