Skip to content

Watch a directory recursively#2

Description

@roma-glushko

Hey folks 馃憢

Is it possible to watch the directory recursively? So when I do watch("/home/roma/"), I receive events from:

  • /home/roma/* files per se
  • /home/roma/docs and any other existing subdirectory of the path
  • /home/roma/justaddeddir/* - any new directory created after we have started watching the root dir

I assume that this is a common case for inotify usage and would be great to have in pynotify.

Thank you in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions