axkibe/lsyncd — Issue #7: lsyncd does not allow to exclude directories
Author: axkibe
Created: 2011-11-16 14:55:09+00:00
State: open
Labels: Type-Defect

Originally filed by a...@gmx.de on 2009-08-26T15:27:18

What steps will reproduce the problem?
======================================

I just wanted to exclude a complete subdirectory as it is written in
"Lsyncd usage examples"

What is the expected output? What do you see instead?
=====================================================

# lsyncd --no-daemon --exclude-from :
Wed Aug 26 17:10:26 2009: command line options: syncing ->
:

Wed Aug 26 17:10:26 2009: ERROR: Reading file '' (21:Is a directory)

This implies that lsyncs has a problem excluding a directory. Excluding
files does work.

What version of the product are you using? On what operating system?
====================================================================

# cat /etc/redhat-release
CentOS release 5.3 (Final)

# rsync --version
rsync version 2.6.8 protocol version 29

# lsyncd --version
Version: 1.25