Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

scp complete folder

Posted on 2008-06-10
3
Medium Priority
?
5,013 Views
Last Modified: 2013-12-27
hai !
      I know to scp a file from one server to another.

My question is if i want to scp complete folder (directory) from one server to another .......how to do it ?
0
Comment
Question by:vishali_vishu
3 Comments
 
LVL 4

Expert Comment

by:albuitra
ID: 21752021
scp -r DIRECTORY
0
 
LVL 16

Accepted Solution

by:
Hanno P.S. earned 2000 total points
ID: 21752076
   scp -r sourcedir server:targetdir
or
    scp -r server:sourcedir targetdir
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 21752136
if you have big directory and big files and sub directories, you may use ftp:

wget -r --ftp-user=username --ftp-password=pass ftp://servername:/path/to/dir

if ypu don't have wget you may download from

sunfreeware.com

This will use ftp to copy which is faster than scp
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question