[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File transfer



Quoting Maureen L Thomas (silverorbspinner@tampabay.rr.com):
> I bought a new Toshiba lap top and want to copy the files from my
> old Toshiba lap top to the new one.  They both have Debian, the
> latest version, so can I just hook up usb to usb and copy that way?
> If so would I need a certain command to do it?

Once a network connection is established, I use scp as in

$ scp -pr top-of-tree username@host:

After the colon, relative paths are with respect to username's home.
-p preserves permissions, -r for recursion, but be aware that files
can be overwritten at the destination; there's no -i as in cp.

With the right ssh keys in place, you don't need to type passwords.

Cheers,
David.


Reply to: