folderPatch

by

Folder Patch
This tiny utility will compare and sync two folders. It can find any new or modified files and put those in a zip file, thus creating a patch.
This patch can then be applied to the base folder, or a copy of the base folder, to replicate all the changes.

folderPatch

Why did I create this?
I have spent a lot of time working on asp.net. We often create publishes that are deployed on remote server.
A complete publish of a business applicaiton can at times be huge. Sending all the files always isn’t the best way around.
The problem with sending incremental publishes often though is that it is prone to human error.
Yes, there are tools like winmerge that can tell you which files have changed but that still needs human effort to put the changes together.
I believe that comparing two folder for changes, creating a patch and applying the patch are all mechinical jobs.
To this tiny utility that will compare two folders, find the changes and give you a patch.
You can apply this patch anywhere you want, to patch the local folder or to mail the patch to be applied at a remote location.

How to use it?
1. Creating a patch:
The folder that you want to patch is the base folder.
The folder that you want to have in the end is the target folder.
After you have selected the base and target folders, specify where the patch should be stored.
Click “Create Patch”. You should get a message, “Patch file created successfully”.
Voila, you have a patch.
If you want to verify the changes, you can open this patch(a zip file) and see the changes.


2. Applying a patch:

The folder that you want to patch is the base folder.
Select the patch file.
Click “Apply Patch”. You should get a message “Patch applied successfully”.

This is open source, and under active development.
You can visit the project at: http://code.google.com/p/folderpatch/
You can download it from: http://code.google.com/p/folderpatch/downloads/list.
If you wish to contribute to it, feel free to leave me a message. I will add you in as a developer.

3 Responses to folderPatch

  1. Dhruv says:

    Why didn’t you just use diff??

  2. nunespascal says:

    I couldn’t find an easy to use tool(foolproof) to apply the diffs.
    When I started of with the task, I was almost sure winmerge would do this. It does create a diff-patch, but has no means of applying it.
    All the tools I could find were command line based.
    I did like this one
    http://gnuwin32.sourceforge.net/packages/diffutils.htm
    But for the implementation guys who were supposed to use this system, it was too complex.
    So this is a simple, foolproof, lightweight, zero installation way to patch folders.
    I will add that it is not as efficient as diff-match-patch, but I plan to implement that too.
    But my users like this as of now cause they can open the zip and see what has changed where.

  3. Hello .
    I saw someone named Nunes Pascal , arranging an Mozilla event on webmaker.org, and searched on Google.
    Found yo site……..

    btw, I’d like to inform you that, your application Folder Patch has a tiny bug :
    Folder patch generates an exception,when no patch path has been entered, and it generates exceptions always when base and target paths are not entered….
    You should catch these exceptions with message boxes……
    That’s all……
    Have a nice evening !

Leave a Reply to Lakshmikant D Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>