Coder Social home page Coder Social logo

Comments (5)

fredrick avatar fredrick commented on August 17, 2024

@berwin22 I too add a second watch self.watch_manager.add_watch(event.pathname, EVENT_MASK, rec=True, auto_add=True) but usually stop at that. @seb-m Are watches not garbage collected somehow? What happens after a watched directory is deleted?

from pyinotify.

seb-m avatar seb-m commented on August 17, 2024

Hi guys,

@wayoutmind are you thinking of this in the context of a moved directory? it's usually probably easier for a move than for a copy. Anyway I've never thought of this use case (using inotify as signal for copy completion), and I'm not sure inotify would be the right way of handling it. In first thought maybe inotify could be part of it but at least it seems to me it does not alleviate from the task of checking files integrity when it is assumed the copy ended. Maybe inotify could be used as a hint of when to check that files are rightly copied and then check that it's the case.

from pyinotify.

fredrick avatar fredrick commented on August 17, 2024

Sorry @seb-m, yes I was thinking about this in the context of a moved directory.

from pyinotify.

mkonecny avatar mkonecny commented on August 17, 2024

I have the same issue. Currently just adding a second watch as @wayoutmind described.

from pyinotify.

seb-m avatar seb-m commented on August 17, 2024

Won't implement this feature.

from pyinotify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.