ayourtch / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

lsyncd does not allow to exclude directories #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 <subdir> <original> <remote
host>:<replique>
Wed Aug 26 17:10:26 2009: command line options: syncing <original> ->
<remote host>:<replique>

Wed Aug 26 17:10:26 2009: ERROR: Reading file '<subdir>' (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

Original issue reported on code.google.com by a...@gmx.de on 26 Aug 2009 at 3:27

GoogleCodeExporter commented 9 years ago
plz close. error 50

Original comment by a...@gmx.de on 26 Aug 2009 at 4:19

GoogleCodeExporter commented 9 years ago
Hi,

Maybe look at the rsync filter options.

They are very tricky to get right, but give you great way of handeling exclude 
stuff.

Kind regards,

jessec

Original comment by robertje...@gmail.com on 25 Oct 2009 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by axk...@gmail.com on 11 Jul 2010 at 7:07