如何通过 FTP 将多个多级(不同层次结构)文件从本地版本覆盖到在线版本 [英] How to overwrite several multi-level(different hierarchy) files from a local version to an online version via FTP
问题描述
我只是在本地更改了几个不同目录中的很多文件(然后将更改推送到 Subversion,但这不会更改实时版本,只是存储库).现在我必须通过 FTP 更新这些文件,但它们都是不同的层次结构级别.
I just changed a lot of files in several different directories locally (then pushed the changes to Subversion, but this does not change the live version, just the repository). Now I have to update those files via FTP, but they are all different hierarchy levels.
我该怎么做?我知道的唯一方法是获取整个本地版本并替换在线版本,但这可能需要一些时间,而且它是一个实时站点...
How do I do that? Only way I know how to is to take my entire local version and replace the online version, but that could take some time, and its a live site...
正在寻找更快的方法...?我可以看到提交中更改的文件,并将其上传到 FTP 站点,而不必担心不同的层次结构级别.
Looking for a faster way...? Something along the lines of I can see the files that were changed in the commit, and take those and upload it to the FTP site, not having to worry about the different hierarchy levels.
推荐答案
- svn 导出每个修订版更改的文件 - Bash,1 个修订版
- ExportRevs - Ruby,修订范围
- Subversion 命令行脚本导出更改的文件 - Bash,未测试
- svn export changed files per revision - Bash, 1 revision
- ExportRevs - Ruby, revision range
- Subversion Command Line Script to export changed files - Bash, not tested
- 在版本之间仅导出 TortoiseSVN 中更改的文件 - GUI, Win-只有,范围
- Exporting only changed files in TortoiseSVN between versions - GUI, Win-only, range
这篇关于如何通过 FTP 将多个多级(不同层次结构)文件从本地版本覆盖到在线版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!