• Home
  • General
  • How to Copy Files and Folder Between Unix (Ubuntu) Servers

How to Copy Files and Folder Between Unix (Ubuntu) Servers

Really quick simple how to here, Techieshelp recently moved to a move Droplet on Digital Ocean. As Techieshelp is based on wordpress then I needed to move the files on the old Droplet to the new server.

There are a couple of simple tings you need before you copy the files :

With that information we can then run the following command, we use the SCP command:

  • Source Folder
  • Destination Folder
  • Source Server IP
  • Source Server Root Account and Password
scp -r /folder1/Folder2/Myfiles root@X.X.X.X:/older1/Folder2/Myfiles

Simply replace the folder paths above and the IP address, you will be prompted to enter to root password.

Tags: SCP

Allen White

Allen is an IT Consultant and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5, 6 and HP ASE, AIS - Network Infrastructure.

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...