How to: copy files to teddie
Submitted by menglert on March 5, 2008 - 21:27.
To copy your files from beddie to teddie the scp command is recommended.
To copy all your home dir files from beddie onto teddie
on teddie you can run
scp -pr %BeddieUserName%@beddie:/home/%BeddieUserName%/* /home/%TeddieUserName%/
Where %BeddieUserName% is your old beddie username and
%TeddieUserName% is your new teddie name.
this will copy all files in your homedir to teddie over ssh including folders and preserve the file permissions.
»
- Login to post comments

I was about to suggest using
I was about to suggest using tar to preserve permissions and such, but then I noticed -p. That's freaking awesome :D!
--
Andrew
:D
yea, i did a happy dance the first time i saw that in the man page.
------
Matt Englert
SOCIS System Admin