rsync – fast incremental file transfer

rsync is an open source utility that provides fast incremental file transfer. It copies files either to or from a remote host, or locally on the current host (it does not support copying files between two remote hosts). It has many more options than rcp, and uses the rsync remote-update protocol to greatly speed up file transfers when the destination file already exists.

rsync uses a delta-transfer algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files.

The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network link.

Features include:

  • Can update whole directory trees and filesystems.
  • Optionally preserves symbolic links, hard links, file ownership, permissions, devices and times.
  • Requires no special privileges to install.
  • Internal pipelining reduces latency for multiple files.
  • Can use rsh, ssh or direct sockets as the transport.
  • Exclude and exclude-from options similar to GNU tar.
  • Supports anonymous or authenticated rsync daemons which is ideal for mirroring.
  • A CVS exclude mode for ignoring the same files that CVS would ignore.
  • Can use any transparent remote shell, including ssh or rsh.

Website: rsync.samba.org
Support: Documentation
Developer: Andrew Tridgell (original developer), Wayne Davison, and many contributors
License: GNU GPL v2

rsync is written in C. Learn C with our recommended free books and free tutorials.

Return to Backup Home Page


Popular series
Guide to LinuxNew to Linux? Read our Linux for Starters series. We start right at the basics and teach you everything you need to know to get started with Linux.
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Each article is supplied with a legendary ratings chart helping you to make informed decisions.
ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software. We offer helpful and impartial information.
Alternatives to Proprietary SoftwareReplace proprietary software with open source alternatives: Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle, Atlassian, Corel, Cisco, Intuit, and SAS.
Linux Around The WorldLinux Around The World showcases events and usergroups that are relevant to Linux enthusiasts.
AudioSurveys popular streaming services from a Linux perspective: Amazon Music Unlimited, Myuzi, Spotify, Deezer, Tidal.
Saving Money with LinuxSaving Money with Linux looks at how you can reduce your energy bills running Linux.
System ToolsEssential Linux system tools focuses on small, indispensable utilities, useful for system administrators as well as regular users.
ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
Home ComputersHome computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum.
Now and ThenNow and Then examines how promising open source software fared over the years. It can be a bumpy ride.
Linux at HomeLinux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged.
Linux CandyLinux Candy reveals the lighter side of Linux. Have some fun and escape from the daily drudgery.
DockerGetting Started with Docker helps you master Docker, a set of platform as a service products that delivers software in packages called containers.
Android AppsBest Free Android Apps. We showcase free Android apps that are definitely worth downloading. There's a strict eligibility criteria for inclusion in this series.
Programming BooksThese best free books accelerate your learning of every programming language. Learn a new language today!
Programming TutorialsThese free tutorials offer the perfect tonic to our free programming books series.
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA.

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.