GithubHelp home page GithubHelp logo

gaecom / inotify-win Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thekid/inotify-win

0.0 2.0 0.0 39 KB

A port of the inotify-wait tool for Windows

License: Other

Makefile 2.75% C# 97.25%

inotify-win's Introduction

inotify-win

A port of the inotifywait tool for Windows, see https://github.com/rvoicilas/inotify-tools

Compiling

If you have Cygwin installed, just run make in this directory. This will create the executable, inotifywait.exe.

Manual complilation goes as follows:

$ %WINDIR%\Microsoft.NET\Framework\v4.0.30319\csc.exe /t:exe /out:inotifywait.exe src\*.cs
Microsoft (R) Visual C# 2010 Compiler Version 4.0.30319.1
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

$ 

Usage

The command line arguments are similar to the original one's:

$ 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

Formats:
%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 for an explanation. Pull requests welcome!

inotify-win's People

Contributors

thekid avatar ashi009 avatar yeerkkiller1 avatar aldecar avatar lhcgreg avatar lehnerpat avatar petermosmans avatar

Watchers

James Cloos avatar  avatar

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.