All for Joomla All for Webmasters

RSYNC


Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behaviour and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Install rsync in CentOS/Fedora Core Linux using,

# yum install rsync -y

For Debian or Ubuntu Linux,

# apt-get install rsync

Now to test, Copy file from a remote system to a local computer

Copy file /root/linuxarticles.txt from a remote server server1.linuxarticles.org to a local computer /root/Desktop directory:

# rsync -v -e ssh \ dhaval@server1.linuxarticles.org:/root/linuxarticles.txt \ /root/Desktop

Password:

 


Like it? Share with your friends!

1 SHARES
0
1 SHARES, 0 points

RSYNC

log in

Become a part of our community!

reset password

Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image