![]() ![]() Please support the nixCraft with a PayPal donation or Patreon. Keeping the site online is challenging, with everyone blocking Ads □. nixCraft is a one-person show, and many of you use Adblocker. □ Was this helpful? Please add a comment to show your appreciation or feedback. Join the nixCraft community via RSS Feed or Email Newsletter. He wrote more than 7k+ posts and helped numerous readers to master IT topics. Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. How to use rsync for transferring files under Linux or UNIX.In this example, copy files from remote server called server1 into /backup directory: It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. ![]() I recommend using rsync command which will only push or download updated files. In the following example, transfer all files (/var/www/html) from remote server called server1 to another server called server2: In this example, transfer all files (/var/www/html) from remote server called server1 to local directory called /backup: Use the following command from the server to which you want the files to go. Fig.01: Winscp transfer files from one UNIX server to another (image credit Winscp website) Linux / UNIX / OS X SSH scp Client Examples
0 Comments
Leave a Reply. |