copying directories

John Chambers jc at trillian.mit.edu
Sun Jan 20 23:23:05 EST 2002


Ron Peterson wrote:
|
| So far, we have cp, tar, and rsync.  But wait!  There's more!
|
| scp dir1 dir2 -r
|
| maybe with a -p, for good measure
|
| Like rsync, also works across machines.


Also, unlike cp, this does copy dir1's contents into  dir2,
and  doesn't  create  dir2/dir1.   So  scp's  semantics for
directories are different than cp's.

We might also note that scp encrypts the data when it sends
across the net.  Does rsync encrypt, too?




More information about the Discuss mailing list