Moving /home Data From Old System To a New Linux System

Copy all files and directories using scp

The easiest way to copy all files (including hidden dot files) is as follows using the scp command:

scp -r /home/you/. [email protected]:/home/you
OR
scp -r /home/you/. [email protected]:/home/you

Recommended Tool

I recommend using the rsync command – a fast and extraordinarily versatile file copying tool as follows. Login to your old laptop and type:

 

cd /home/you 

rsync -avz * [email protected]:/home/user/

OR

rsync -avz * [email protected]:/home/user/

Leave a Reply

Your email address will not be published. Required fields are marked *