Hello all.
I am going to show you powerful linux command to copy large files and directories from server to remote server .
We are going to use rsync command which is more faster than scp and sftp
Lets says we have Directory full of movies on our Server A. Now we want to copy all the movies to remote server somewhere in the world
This is how magic is done:
Log in to your Server A over ssh console
if you don't have rsync already installed just do it:
next command will launch the transfer and will ask you for root password of the remote server.
boom magic is done
192.168.2.95 it's my local ip address you should replace it with your own remote server ip address.
Now what about if your server SSH is listening on different port not the 22 default one.
You have to add -e option and full command will looks like this one
Best Regards to all
enjoy
I am going to show you powerful linux command to copy large files and directories from server to remote server .
We are going to use rsync command which is more faster than scp and sftp
Lets says we have Directory full of movies on our Server A. Now we want to copy all the movies to remote server somewhere in the world
This is how magic is done:
Log in to your Server A over ssh console
if you don't have rsync already installed just do it:
PHP:
apt-get install rsync -y
next command will launch the transfer and will ask you for root password of the remote server.
boom magic is done
192.168.2.95 it's my local ip address you should replace it with your own remote server ip address.
Now what about if your server SSH is listening on different port not the 22 default one.
You have to add -e option and full command will looks like this one
Best Regards to all
enjoy
Last edited: