Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🔔 inotifywait alternative with polling

License

NotificationsYou must be signed in to change notification settings

javanile/inotifywait-polling

Repository files navigation


🔔 inotifywait (with polling)

Build Statuscodecov

Todayinotify has limitaions on watch for chagnes into particular filesystem or mount point. Here is a short list

  • Mountend volumes from Docker containers in a Microsoft Windows host.
  • Mountend directories with file system SMB/NFS from GNU/Linux host.

In all of this cases you can useinotifywait-polling instead of classicinotifywait to watch for changes into the above scenarious.

Install

The most common way to install the project is from GitHub source

git clone https://github.com/javanile/inotifywait-polling.gitsudo cp ./inotifywait-polling/inotifywait-polling.sh /usr/local/bin/inotifywait-pollingchmod +x /usr/local/bin/inotifywait-polling

Usage

It works exactly like the original, so it accepts the same options, with the only difference that it checks every 5 seconds that your target has changed or not (unfortunately this is the only way around the problem in those file systems where the original does not work).

$ inotifywait-polling$HOMESetting up watches.Watches established.

Dockerfile

RUN curl -s https://javanile.github.io/inotifywait-polling/setup.sh| bin=inotifywait bash -

Changelog

Please seeCHANGELOG for more information on what has changed recently.

Testing

$ make install
$ make tdd take=tests/HamperDatabaseTest.php

Contributing

Please seeCONTRIBUTING for details.

Security

If you discover any security related issues, please emailbianco@javanile.org instead of using the issue tracker.

Socialware

We highly appreciate if you create a social post on Twitter by clicking the following button

Share on Twitter

Credits

This project exists thanks to all the people who contribute.

Support us

Javanile is a community project agency based in Sicily, Italy.You'll find an overview of all our projectson our website.

Does your business depend on our contributions? Reach out us onPatreon.

License

The MIT License (MIT). Please seeLicense File for more information.


[8]ページ先頭

©2009-2025 Movatter.jp