Total Commander 忽略 ftp 上传上的 svn 文件夹
当我将包含“.svn”子文件夹的文件夹上传到 ftp 时,“.svn”文件夹也会被上传。是否可以让 Total Commander 在上传到 ftp 时忽略“.svn”文件夹? 我不想在svn中使用“导出”选项,因为我必须经常上传新文件并且导出需要时间,所以非常不方便......
When I upload a folder that has ".svn" subfolders to ftp, the ".svn" folders are uploaded too. is it possible to make total commander ignore ".svn" folders when uploading to ftp?
I'd rather not use "export" option in the svn, because I have to upload new files very often and exporting takes time, so it's very inconvenient...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
本地文件夹地址和远程文件夹地址之间有一个过滤框。在那里输入
*.*|.svn\
There is a filter box between the local folder address and the remote folder address. In there type in
*.*|.svn\
如果您使用 Eclipse,则可以使用文件/导出操作将项目导出到文件系统。它将删除所有 .svn 文件夹以及其他 IDE/项目相关的文件和文件夹。
If you use Eclipse there's a File/Export action which allows you to export the project to file system. It's going to strip all .svn folders and other IDE/project related files and folders.
我不知道您是否可以使用 Total Commander 解决问题,但这里有一个不同的解决方案:您应该使用
svn export PATH1 PATH2
从存储库导出您的内容(请参阅 文档)。导出的版本不包含任何 svn 元数据(如 .svn 文件夹)。I don't know if you can solve the problem with Total Commander but here is a different solution: You should export your stuff from the repository with
svn export PATH1 PATH2
(see documentation). The exported version does not contain any svn meta data (like the .svn folders).我不知道如何使用 Total Commander 做到这一点,但我知道你可以使用 Filezilla 做到这一点。您转到查看 -> 文件名过滤器(或 ctrl-i)并选择本地过滤器下的 CVS 和 SVN 目录。现在您可以将内容上传到服务器,而无需上传 CVS 或 SVN 文件:)
I don't know how you can do that with total commander, but I do know you can do this with Filezilla. You go to view->filename filters (or ctrl-i) and select CVS and SVN directories under the local filters. Now you can upload stuff to the server without having the CVS or SVN files uplaoded:)