You can easily move files from one server to another with the SCP command.
How To Move Files from One Server to Another With SCP SSH
1. Open an SSH session in Terminal
2. Navigate to files/folder you wish to move
3. Optionally tar.gz the files/folder
4. In Terminal type: scp file.tar.gz [email protected]:/path/to/where/to/want/to/put/file.tar.gz
That will open an SSH tunnel from the local server to the remote server. Then it will initiate the transfer of the files fr you. This saves a nice bit of time, since you are not FTP’ing down and back up to the other location.
Optional Arguments
-p Preserves the modification and access times, as well as the permissions of the source-file in the destination-file
-q Do not display the progress bar
-r Recursive, so it copies the contents of the source-file (directory in this case) recursively
-v Displays debugging messages
Matt is a Systems Development Director for a multinational franchise. Matt has lived and worked in Hawaii, Chicago, South Florida and currently resides outside of Atlanta. He enjoys his hobbies including Technology, Gadgets/EDC, Fountain Pens, Wetshaving, Clocks, Antiques & Coffee. He even roasts his own coffee weekly.