GithubHelp home page GithubHelp logo

prasad83 / diffdir Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 168 KB

Automatically exported from code.google.com/p/diffdir

License: GNU Lesser General Public License v2.1

Shell 11.13% Java 88.87%

diffdir's Introduction

DiffDir
=======

Author: Prasad <[email protected]>

ABOUT:

This application was written basically to make the process of server updates
easy when the code is being developed.

When the server is setup with first version of codebase, second version of
development will be continued. After the second version is released, you 
can use this application to compute the difference between the first version
and second version. 

The output will contain the changed files / new files that needs to be added
to your server to keep it up to date.

USAGE:
java pra.tools.dirdiff.core.BasicDiff fresh_copy old_copy [output_dir]

The computation of diff is described below in brief:
* First input is treated as fresh copy
* Second second is treated as old copy

* 1. If there are changes in files that exist in both the copies,
*    the file from first directory is copied to output directory.

* 2. If there is a new file in first directory it is added to output directory.

* 3. If there is a file in second directory but not in first directory,
* the file copy is ignored.

* 4. If output_dir is not specified then a folder by name output-<random-number> 
*    is created with respect to parent directory of old_copy directory.

Drop me a mail if you have any feedbacks or you find this application useful.

diffdir's People

Watchers

 avatar  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.