Re: copying files from home directory on one machine to directory on another machine
- From: Dave Witbrodt <dawitbro@xxxxxxxxxxxxx>
- Date: Sun, 29 Nov 2009 06:23:47 -0500
Alexander Kaphuk wrote:
Dave Witbrodt wrote:Alexander Kaphuk wrote:That's right. I've never used either tool before. Thanks a lot for the tip!G'day,
I'd appreciate somebody pointing me where to look for info on how to copy files from a home directory on one machine to a directory on another machine via network.
I've got about 100GB of data I need to copy from my desktop running ubuntu 9.04 on to a laptop running Debian Squeeze which are both at my home.
I'm not even sure how to word it in just a few words so I can google it.
Maybe simplest way is using 'ssh'. You can also use 'rsync', but if you've never used either before then learning about 'ssh' is arguably more important than learning 'rsync'.
First read this:
http://wiki.debian.org/ssh
Then read about 'scp' (included with 'ssh'):
http://en.wikipedia.org/wiki/Secure_copy
HTH,
Dave W.
Sure. If you're in the mood to learn about every possibility...
You might also consider NFS: it allows you to mount directories from one machine on the other machine. If the userid's are the same on both machines, this would be terribly simple and would allow you set up the NFS mount using very few (of its long list of) options. If the userid's don't match, then you can:
a) mount with root privileges, copy the files, and change ownership
afterward using 'chown -R'
or b) mount with special NFS options to change the userid (and/or
groupid) -- I sometimes do this using a directory on my GUI
desktop, and then file copying automatically results in the
userid/groupid matching your user on the destination machine
Of course, NFS is not really an option if your source machine (or destination) is running Windows. [In that case, there's always
Samba! ;-) ]
Just food for thought,
DW
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: copying files from home directory on one machine to directory on another machine
- From: Alan Ianson
- Re: copying files from home directory on one machine to directory on another machine
- From: Florian Kriener
- Re: copying files from home directory on one machine to directory on another machine
- From: Nick Douma
- Re: copying files from home directory on one machine to directory on another machine
- References:
- re: copying files from home directory on one machine to directory on another machine
- From: Alexander Kaphuk
- Re: copying files from home directory on one machine to directory on another machine
- From: Dave Witbrodt
- Re: copying files from home directory on one machine to directory on another machine
- From: Alexander Kaphuk
- re: copying files from home directory on one machine to directory on another machine
- Prev by Date: Re: copying files from home directory on one machine to directory on another machine
- Next by Date: Re: copying files from home directory on one machine to directory on another machine
- Previous by thread: Re: copying files from home directory on one machine to directory on another machine
- Next by thread: Re: copying files from home directory on one machine to directory on another machine
- Index(es):
Relevant Pages
|