Lsyncd – Live Syncing Daemon

Lsyncd is a live file synchronization daemon that watches local directory trees for filesystem changes and then synchronizes those changes to a remote target.

It uses the kernel event notification interface, such as inotify on Linux and fsevents on macOS, to detect changes efficiently, then batches events for a short period before launching synchronization jobs. By default it uses rsync, making it a practical solution for keeping local directories mirrored to remote systems without requiring special filesystems or block-level replication.

This is free and open source software.

Key Features

  • Monitors local directory trees using filesystem event interfaces such as inotify and fsevents.
  • Aggregates file events before synchronizing, which helps reduce unnecessary transfer activity.
  • Uses rsync by default to synchronize changed files to remote targets.
  • Supports rsync over SSH, including handling remote moves more efficiently.
  • Offers flexible configuration through Lua-based configuration files.
  • Can be extended with custom action configurations ranging from shell scripts to Lua code.
  • Designed for lightweight one-way live mirroring of directories to remote systems.

Website: github.com/lsyncd/lsyncd
Support:
Developer: lsyncd developers
License: GNU General Public License v2.0

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


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments