Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thekid/inotify-win
A port of the inotify-wait tool for Windows
https://github.com/thekid/inotify-win
c-sharp filesystem-events inotify inotifywait windows
Last synced: 3 days ago
JSON representation
A port of the inotify-wait tool for Windows
- Host: GitHub
- URL: https://github.com/thekid/inotify-win
- Owner: thekid
- License: other
- Created: 2012-06-17T13:08:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T06:08:54.000Z (8 months ago)
- Last Synced: 2024-10-13T13:10:42.860Z (3 months ago)
- Topics: c-sharp, filesystem-events, inotify, inotifywait, windows
- Language: C#
- Size: 46.9 KB
- Stars: 269
- Watchers: 16
- Forks: 69
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
inotify-win
===========
A port of the **inotifywait** tool for Windows, see https://github.com/rvoicilas/inotify-toolsCompiling
=========
If you have Cygwin installed, just run `make` in this directory. This will create the executable, `inotifywait.exe`.Manual complilation goes as follows:
```sh
$ %WINDIR%\Microsoft.NET\Framework\v4.0.30319\csc.exe /o /t:exe /out:inotifywait.exe src\*.cs
```Usage
=====
The command line arguments are similar to the original one's:```sh
$ inotifywait.exe
Usage: inotifywait [options] path [...]Options:
-r/--recursive: Recursively watch all files and subdirectories inside path
-m/--monitor: Keep running until killed (e.g. via Ctrl+C)
-q/--quiet: Do not output information about actions
-e/--event list: Events (create, modify, delete, move) to watch, comma-separated. Default: all
--format format: Format string for output.
--exclude: Do not process any events whose filename matches the specified regex
--excludei: Ditto, case-insensitive
--include: Only process events whose filename matches the specified regex
--includei: Ditto, case-insensitiveFormats:
%e : Event name
%f : File name
%w : Path name
%T : Current date and time
```Known issues
------------
When moving files, not all events are reported consistently with the original. See [issue #7](https://github.com/thekid/inotify-win/issues/7) for an explanation. **Pull requests welcome!**