D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] New Laptop question

 

On 07/05/16 07:43, Tom wrote:
On 06/05/16 14:23, Gordon Henderson wrote:
On Fri, 6 May 2016, Tom wrote:

I've just got me a new laptop and set up Xubuntu 16.04 on it.
I was going to set up my home directory on the old Xubuntu 15.10 on it
available to the new one via NFS and then just copy the whole thing
over to my new home directory.
This should be OK shouldnt it? Or will I need to chown?

If the UID (in /etc/passwd) on the new one is the same as the old one
then you're fine. Use cp -a old new

Or if NFS gives you issues just use rsync (with or without the
--numeric-ids option)

Presumably I'd still have to export the files system some way for the other machine to rsync from it?
Tom te tom te tom

Oh -cancel that! Didnt realise Rsync could log in for you!
Tom te tom te tom

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq