CSF Watch Dir

Post Reply
Lost Eagle
Junior Member
Posts: 2
Joined: 03 Sep 2009, 14:23

CSF Watch Dir

Post 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 ...
loop
Junior Member
Posts: 11
Joined: 12 Oct 2013, 10:40

Re: CSF Watch Dir

Post 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 ?
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: CSF Watch Dir

Post 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.
Post Reply