Page 1 of 1

CSF Watch Dir

Posted: 17 Jun 2013, 17:18
by Lost Eagle
HOWDY,
I set the watch dir to monitor a dir with 100 of files ...
I want it to notify me when a file changed and with the changed file name ...

Its always sending me all file name in the dir ... advise plz ...

Re: CSF Watch Dir

Posted: 12 Oct 2013, 10:48
by loop
Same situation here.

after setting the dir in csf.dirwatch
and enabling LF_DIRWATCH
and LF_DIRWATCH_FILE to 120

then i get a report for the all the files in that dir.
Should it send only the filenames that ware changed.


for example setting a public_html folder now returns a list of over 2000 files and dirs
and only a few files had changed.


Any ideas ?

Re: CSF Watch Dir

Posted: 14 Oct 2013, 16:38
by ForumAdmin
That is simply how the feature works. From csf.dirwatch:
# The following should be a list of directories and files that you want to be
# alerted when they change. You must specify full paths for each entry.
#
# lfd uses a simple md5sum match from the output of "ls -laAR" on the entry and
# so will traverse directories if specified.