# rsync

> File copying and synchronization tool for local and remote paths, with delta transfers for remote updates and SSH or rsync-daemon connections.

Stars: 5.4k · Language: C · Categories: File Management

- Repository: https://github.com/RsyncProject/rsync
- Website: https://rsync.samba.org
- Page: https://www.trmn.sh/tools/rsync

## Overview

rsync is a file copying and synchronization tool for both local and remote files. For remote synchronization, its delta-transfer algorithm can send changed parts of files instead of copying the entire file again. A technical report describing the algorithm ships with the package.

Usage is similar to scp, with many additional options. Run `rsync --help` for the full option list; the manpage has detailed documentation. For remote transfers, rsync normally communicates over ssh or rsh, needs no setuid or special privileges, and recommends ssh for its security features. It can also run in daemon mode, listening on a socket, which is typically used for public file distribution and supports authentication and access control. Daemon setup is covered in the rsyncd.conf(5) manpage.

rsync is aimed at system administrators, developers, and anyone who needs to mirror, back up, restore, or distribute files between machines. To build from source, run the `configure` script, then `make`, then optionally `make install`. The INSTALL page lists libraries and packages that enable additional features. It is licensed under the GNU GPL.

## Alternatives

- [Gifsicle](https://www.trmn.sh/tools/gifsicle.md): Command-line tool for creating, editing, and optimizing GIF images and animations, with companion gifview and gifdiff programs. (C, 4.4k stars)
- [ImageMagick](https://www.trmn.sh/tools/imagemagick.md): Open-source C software suite with a command-line interface and APIs for creating, editing, converting, and composing bitmap images in 200+ formats. (C, 17.9k stars)
- [nnn](https://www.trmn.sh/tools/nnn.md): Terminal file manager with disk usage analysis, batch operations, and extensive plugin ecosystem (C, 22.1k stars)
- [ExifTool](https://www.trmn.sh/tools/exiftool.md): Perl library and command-line app for reading and writing metadata (EXIF, IPTC, XMP, maker notes) in hundreds of image, video, audio, and document formats. (Perl, 5.3k stars)
- [PathPicker](https://www.trmn.sh/tools/pathpicker.md): Command-line tool (fpp) that parses piped output for file paths, shows a curses selector, and opens the selected files in $EDITOR or runs a command on them. (Python, 5.2k stars)

---

Canonical: https://www.trmn.sh/tools/rsync
