patrickpeng2091 / lsyncd

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

incorrect '+' processing in exclude list #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. add to config file 'exclude = {"lost+found/"}'.
2. start lsyncd
3. status file contains this:

Sync1 source=/mnt/work/
There are 0 delays
Excluding:
lost+found/
*~
.build*/

Inotify watching 4 directories
  1: /mnt/work/
  2: /mnt/work/test/
  3: /mnt/work/aaa/
  4: /mnt/work/lost+found/

I.e. 'lost+found' is not in exclude list. 'lost\+found' doesn't work too. 
'lost?found' works.

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

Document how directories with '+' should be passed to exclude list.

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

2.0.3, Linux 2.6.37-gentoo-r1.

Original issue reported on code.google.com by nbkolc...@gmail.com on 13 Mar 2011 at 2:05

GoogleCodeExporter commented 9 years ago
Oh, I just submitted a fix to SVN, please check if that worked for you.

Original comment by axk...@gmail.com on 22 Mar 2011 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by axk...@gmail.com on 29 Mar 2011 at 8:42