#443700 monitor a path recursively

Package:
incron
Source:
incron
Description:
cron-like daemon which handles filesystem events
Submitter:
martin f krafft
Date:
2021-05-26 10:54:05 UTC
Severity:
wishlist
Tags:
#443700#3
Date:
2007-09-23 14:14:50 UTC
From:
To:
It would be nice if incron let me monitor a file recursively,
possibly using this algorithm until the kernel supports recursive
monitoring:

http://mail.gnome.org/archives/dashboard-hackers/2004-October/msg00022.html

#443700#8
Date:
2007-10-02 19:46:16 UTC
From:
To:
tag 443700 +upstream
thanks

Hi madduck,

this feature request has already been reported upstream :

http://bts.aiken.cz/view.php?id=121 (registering needed)

#443700#25
Date:
2021-05-26 10:44:19 UTC
From:
To:
Hello,

I'm not sure if this is already done. In 0.5.12-1+deb10u1, when I watch the root of my home directory with IN_CLOSE_WRITE,IN_MOVED_TO,IN_ONLYDIR, changes in subdirectories trigger a run of the associated script.

Personally, I'd prefer to have an additional flag IN_RECURSIVE if a directory is to be watched in it's entire subtree, or only changes to the directory (inode) itself, which is the opposite of what the initial bug reporter was asking for.

Should I open a new feature request?

:wq! PoC