是否有一个相当于净FileSystemWatcher的Linux世界? [英] Is there an equivalent to the .Net FileSystemWatcher in the Linux world?

查看:213
本文介绍了是否有一个相当于净FileSystemWatcher的Linux世界?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得净FileSystemWatcher类真的很方便的编写实用程序自动来的生活,当文件显示在他们的监视文件夹。是否有任何相当于这个功能在* nix的世界,让我看一个文件夹(也可能是它的所有子目录)?

I find the .Net FileSystemWatcher class really handy for writing utilities that automatically come to life when files show up in their watched folders. Is there any equivalent to this functionality in the *nix world that would allow me to watch a folder (and possibly all of its subdirectories)?

编辑: preferably这将是东西,不需要内核补丁

Preferably this will be something that doesn't require kernel patches.

推荐答案

这将是野孩的文件变更监视器的inotify

编辑:单声道确实有野孩绑定 - 事实上,它的实施FileSystemWatcher的的使用野孩。请参见 http://www.mono-project.com/FAQ:_Technical (搜索页面FileSystemWatcher的,在常见问题没有锚可惜。)

Mono does have Gamin bindings - in fact, its implementation of FileSystemWatcher uses Gamin. See http://www.mono-project.com/FAQ:_Technical (search the page for FileSystemWatcher, the FAQ doesn't have anchors unfortunately.)

这篇关于是否有一个相当于净FileSystemWatcher的Linux世界?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆