I have set up a new pc, and I want to copy data from my old pc to it, without having to manually copy everything to an external drive.
I guess I could do something with rsync over ssh, but have no idea of how to accomplish that.
Anyone?
I have set up a new pc, and I want to copy data from my old pc to it, without having to manually copy everything to an external drive.
I guess I could do something with rsync over ssh, but have no idea of how to accomplish that.
Anyone?
rsync
is pretty easy to use. You will need to know the ip address or name of the machine. So if your new machine is called shiny
and the old machine is called abandoned
, and you have the same user on both machine then to copy to the data over you would type this on shiny
:
rsync avz username@abandoned:/home/user /home/user
Substitute the IP addresses if you don't know the names. You should be able to ping
the other machine if they are on the same network. You can get the IP address by typing ifconfig
.
Alternatively, you could take the old hdd and mount it either on the machine physically if its a desktop in the spare slot and just copy the files over. Or use a sata/usb lead to mount it, or one of these toasters: