rsync copy files from remote server to other server

rsync copy files from remote server to other server

I always need to use this method for copy files one remote machine to another machine. there are many tool to do that. filezilla, winscp and many more. But I like command prompt.

rsync copy files from remote server to other server

scp is command is very useful for file transfer on remote machine.

To copy local file on remote machine use following command

#scp FILENAME  USERNAME@55.86.59.95:/home/USER/

To copy file from remote machine use following command

#scp USERNAME@55.86.59.95:/home/USER/FILENAME  .
or use
#scp USERNAME@55.86.59.95:/home/USER/FILENAME  *

To copy file from remote machin using scp command with port

#scp -P54 USERNAME@55.86.59.95:/home/USER/FILENAME  .
or use
#scp -P54 USERNAME@55.86.59.95:/home/USER/FILENAME  *

Above commands will execute faster than other tools.

rsync copy files from remote server to other server
rsync copy files from remote server to other server

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.