tf.exefolderdiff 比较特定文件夹中的文件
我希望能够比较位于名为 MessagingService 的文件夹中的所有 app.config 文件。我已经阅读了 tf.exe 的文档大约 50 次,我无法理解语法应该与以下不同:
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;MessagingService\" /r
但这没有留下任何结果。据我所知,文件夹包含掩码的行为不符合预期,因为以下行工作正常:
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;!MessagingService\" /r
但当然它只显示我不感兴趣的 app.configs :)
任何有启发性的评论都将受到高度赞赏。
I want to be able to diff all my app.config files that resides in folders called MessagingService. I have read the documentation on the tf.exe about 50 times now, and I can't understand that the syntax should be different than:
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;MessagingService\" /r
but this leaves no results. As far as I can understand the folder inclusion mask does not behave as expected, because the following line works fine:
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;!MessagingService\" /r
but of course it displays only the app.configs I'm not interested in :)
Any enlightening comments are highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个...
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;*MessagingService*\" /r
我相信 MessagingService 单词前后需要星号,因为“app.config " 是整个文件名,但 MessagingService 单词不是整个路径值,它只是实际文件路径的一部分。
try this one ...
tf.exe treediff $/myproject/main $/myproject/prod /filter:"app.config;*MessagingService*\" /r
I believe stars are needed after and before MessagingService word because "app.config" IS the entire filename but MessagingService word IS NOT the entire path value, it is just a part of the actual file path.