This quick easy bash command will help you to transfer files from one server to another without download and upload to your pc.
- Compress the folder at the source server
-
tar -zcvf file-to-move.tar.zg thefoldername
- connect to the remote server with ftp
-
ftp servername
(you will prompt for the credentials)
- Send the file to the remote server
-
send file-to-move.tar.zg
(will take some time…)
- Quit the ftp connection
-
quit
Nice bashing….