如何通过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 ,仅限赢,范围
- Exporting only changed files in TortoiseSVN between versions - GUI, Win-only, range
这篇关于如何通过FTP覆盖多个多层(不同层次)文件从本地版本到在线版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!