Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 868  / 2 Years ago, thu, march 17, 2022, 2:47:11

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?


More From » ssh

 Answers
0

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:


[#34909] Friday, March 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rtbrbab

Total Points: 461
Total Questions: 126
Total Answers: 117

Location: Saudi Arabia
Member since Fri, Jul 1, 2022
2 Years ago
rtbrbab questions
Fri, May 5, 23, 14:22, 1 Year ago
Tue, Nov 16, 21, 14:41, 2 Years ago
Thu, Mar 23, 23, 20:47, 1 Year ago
Sat, Jun 18, 22, 21:36, 2 Years ago
;