Giter Club home page Giter Club logo

svnrsync's Introduction

svnrsync

Shell script to sync any svn projects to other svn projects. Source and destination project can be different svn server. SVN同步工具(源与目标SVN可以在不同SVN服务器)

原理:

  1. checkout源及目标SVN目录
  2. rsync源到目标;
  3. parallel多进程提高效率;
  4. 作为作业执行时通过加锁避免冲突;

使用步骤:

  1. 修改svnrsync.cfg中的配置 1)SVN命令的路径; 2)源SVN及目标SVN的用户名、密码(base64编码); 3)指定用于加锁的文件的目录; 4)源SVN及目标SVN的本地目录以及服务器地址; 5)需要进行同步的目录编号;
  2. svnrsync.sh中指定svnrsync.cfg的目录;
  3. 源SVN checkout到指定的本地目录;
  4. 目标SVN checkout到指定的本地目录;
  5. 运行svnrsync.sh进行SVN同步;
  6. 把svnrsync.sh配置到crontab中;

svnrsync's People

Contributors

yeahxweb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.