文件更改观察工具
我最近开始了一个在远程计算机上运行的新项目。我通常远程调试应用程序。我已经设置了微软同步玩具来将构建的 exe、dll、pdb 和配置“回显”到远程计算机。
但是,我无法将synctoy添加到我的Visual Studio构建事件中,因为它可能会打扰我团队中的其他一些程序员。我想知道,你们会使用哪种(免费)工具来监视文件文件夹并在检测到更改时启动synctoy。
我可以编写一个简单的文件观察器,但我宁愿只使用现有的工具,而不是重新发明轮子。在谷歌上搜索会产生这么多工具,我不想只是为了找到一个好的工具而尝试它们。
I have recently begun a new project which runs on remote computer. I usually remote debug the application. I have setup microsoft sync toy to "echo" the built exe,dll,pdb and configs to the remote computer.
However, i cant add synctoy to my visual studio build events because it might disturb some of the other programmers in my team. I was wondering, which (free) tool would you guys use to watch a folder of files and kick off synctoy when a change is detected.
I can write a simple file watcher, but rather than reinvent the wheel, i would rather just use an existing tool. Searching on google yields so many tools, i wouldn't want to try them out just to find a good one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它可能属于重新发明轮子的旗帜,但如果您使用 .NET,FileSystemWatcher 类虽然没有 UI,但已经非常全面,开箱即用。
我相信你可以在很短的时间内用它完成一些事情。
It may fall under the banner of reinventing the wheel, but if you are using .NET, the FileSystemWatcher class, albeit without a UI, is pretty much as comprehensive as you can get, out of the box.
I'm sure you could knock something up with it in a very short time.
将 Robocopy 与 /MON 或 /MOT 选项一起使用怎么样?有关更多详细信息,请参阅 http://ss64.com/nt/robocopy.html。
What about using Robocopy with the /MON or /MOT options? See http://ss64.com/nt/robocopy.html for more details.