| Author |
how to transfer a directory and its subdirectories using sftp ?
|
|
| jeniffer 2006-03-21, 3:17 am |
| How to transfer an entire directory structure(subdirectories and files
included) from a remote machine to local machine?
| |
| simonp@nospam.com 2006-03-21, 3:17 am |
| jeniffer <zenith.of.perfection@gmail.com> wrote:
> How to transfer an entire directory structure(subdirectories and files
> included) from a remote machine to local machine?
>
Use scp with the -r option.
Simon
--
Stupendous Tales
www.stupendoustales.com
Speculative Fiction, Pulp Dreams
| |
| matt_left_coast 2006-03-21, 5:56 pm |
| jeniffer wrote:
> How to transfer an entire directory structure(subdirectories and files
> included) from a remote machine to local machine?
If you are only going to copy the "directory structure" once, use scp. If
you want to keep the second system synchronized with the first, use rsync
over ssh:
(from the rsync man page)
I mirror a directory between my "old" and "new" ftp sites with the command:
rsync -az -e ssh --delete ~ftp/pub/samba nimbus:"~ftp/pub/tridge"
--
|
|
|
|