Moving /home data from old system to new Linux system

Copy all files and directories using scp
I quickly assigne both of his laptop new IP address and using scp I copied all files:

$ scp –r /home/you/. you@new-system:/home/you

OR

$ scp –r /home/you/. you@192.168.1.100:/home/you

Now everything is copied to new system (IP 192.168.1.100). And he got all his emails, bookmarks and files.

Appending a dot (.) symbol (current directory) is very important when you specify /home/you/ as a source path. If you skip dot in path it will only copy only normal files and scp will skip all hidden files.

Copy all files and directories using graphical method

  1. Login to old system
  2. Open two instants of Konqueror browser (i.e. open it two times)
  3. Go to first window and type in Location bar /home/yourname
  4. By default Konqueror will not display hidden files/directories. To see hidden files or folders use the Menubar View > Show Hidden Files option.
  5. Now select all files copy them (CTRL + C or Menubar Edit > Copy option)
  6. Now go to second Konqueror window and type in Location bar and type command: fish://you@newsystem
  7. You are using Konqueror with ssh to manage files on a Remote system called newsystem. You can use IP address instead of hostname.
  8. It will prompt for ssh password. Once logged in you can paste the files and folder
  9. Now just past all files and folder
Advertisements
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s