Huge directory tree: Get files to sync via tools like sysdig

Karl O. Pinc kop at
Thu Feb 9 13:25:48 UTC 2017

On Thu, 9 Feb 2017 10:55:51 +0100
Axel Kittenberger <axkibe at> wrote:

> > Has someone experience with collecting the changed files
> > with a third party tool which detects which files were changed?  
> I don't know of sysdig but am the developer of Lsyncd which does
> exactly that, collect file changes via inotify event mechanism and
> then calls rsync with a matching filter mask.
> However, since you say, your directory tree is hugh, the main issue
> is that for every directory an inotify watch must be created, taking
> about 1KB of kernel memory per watch.

Not only that, but inotify is not guaranteed.  (At least not on
3.16.0.  Can't say regards later versions.)  So you might miss some

Karl <kop at>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

More information about the rsync mailing list