notify-forwarder icon indicating copy to clipboard operation
notify-forwarder copied to clipboard

Works with Windows 10 (build #14942 or higher) and Windows Subsystem for Linux

Open corford opened this issue 7 years ago • 5 comments

Microsoft recently added inotify support to their Windows Subsystem for Linux (see: https://blogs.msdn.microsoft.com/commandline/2016/10/07/wsl-adds-inotify-filesystem-change-notification-support/).

Happy to report running notify-forwarder watch via bash on the windows host and notify-forwarder receive on the linux guest picks up file & directory changes made on the windows host (confirmed by running while true; do inotifywait /vagrant/gitrepos -r; done on the guest).

Only caveats: I had to run notify-forwarder as root on the guest and DELETE events are not picked up (only creation/modification, albeit shown as ATTRIB events by inotifywait).

So you can add Windows 10 to the supported platforms list :)

corford avatar Aug 29 '17 00:08 corford

How do I use this on windows 7? the command "make" is impossible to run.

ohoroyoi avatar Nov 07 '18 05:11 ohoroyoi

@ohoroyoi you need a up-to-date Windows 10

jampy avatar Nov 27 '18 09:11 jampy

@corford any steps on how you compiled notify-forwarder for windows 10? Thank you.

bilogic avatar May 16 '20 09:05 bilogic

@bilogic Alas, this was quite a while ago and I'm afraid I can't remember any of the details (completely forgot about this project until GH notified me of your comment just now). I assume I must have compiled it from within the WSL (or cross compiled and moved the binary across).

corford avatar May 16 '20 10:05 corford

let me understand correctly, was it a Windows EXE binary or a Linux one? Can share if it is windows?

bilogic avatar May 16 '20 10:05 bilogic