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 user@remote.server.com:/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














One Response to “How To Move Files from One Server to Another With SCP SSH” Leave a reply ›
This actually does a copy not a move.