Solved

scp complete folder

Posted on 2008-06-10
3
5,000 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 Schröder earned 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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