Click here to Skip to main content
Click here to Skip to main content
Go to top

Verify the integrity of directory trees using Checksum Verifier

, 15 May 2008
Rate this:
Please Sign up or sign in to vote.
A small utility to verify checksums.

Introduction

In this article, I am introducing a small utility developed for catering some of my daily chores. I have an environment in which several replica (wozking copies) of the same code repository exist. The problem started to arose when the source tree grew to a higher level and daily changes from different locations increased at a higher level. For getting the same source to everywhere, I needed to compare the source tree and find the source files which were modified. Although there were several utilities for doing this task, I was not able to find any utility which could compare two hierarchical source trees and export the result to CSV format. As a result, I designed a small utility for catering to my specific needs.

Using the Utility

After extracting the binary distribution, you will find an executable, ChecksumVerifier.exe. Start the utility from ChecksumVerifier.exe.

The first screen will be as follows:

Clipboard01.jpg

Now, click  to select the directory trees to compare.

Clipboard02.jpg

Click Start Compare to perform the checksum verification.

Clipboard03.jpg

When the verification is going on, you will be able to see the results, if the files are identical or they are different. Different files will be shown by red highlighting with a yellow fore ground. Once the verification will complete, you will be prompted to export the result to a CSV file.

Select Yes to export the report into CSV format. Enter the filename to save the report:

Clipboard05.jpg

The exported result will be like:

Points of interest

I hope this will be useful for someone, and will avoid duplication of efforts by some needful.

History

  • Revision 1.0 - May 16, 2008 - Initial revision.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Ashutosh Phoujdar
Architect Infosys Technologies Ltd.
India India
An Software Architect having work experience of 8+ years in Architecture, Design and Development of Enterprise class application for Analytic s and Business Intelligence. Having hands-on experience primarily in Microsoft Technology Stack including(but not limited to) .NET, SQL Server, SharePoint Server, Biztalk, Withal know to program in Java, Perl and Shell. Currently working as Product Technical Architect in Infosys Technologies Ltd. Products R&D division. He has worked on development of best in class Supply Chain Optimization System and Spend Classification Software for optimizing indirect spend. An avid programmer by heart and passionate for solving any challenging and complex business problems. He is advocate of Open source and love to share solutions with open source communities like
1.Stack Overflow
2. nHibernate
.
 
Award's :
Prize winner in Competition "Best article of May 2008"
 
Articles :
Click to see my CodeProject Articles
 
Open Source Contributions:
Click to see my Open Source Project
 
Blog :
Share a solution | Explore the .NET world
 
Link'd :
LinkedIn Profile
 
His Favorite(s) :
nHibernate - The best ORM.
nHibernate Contributed Tools
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
GeneralNice tool -- only one small observation PinmemberGautam Sharma28-Oct-09 2:41 
GeneralRe: Nice tool -- only one small observation Pinmemberdnpro28-Oct-09 4:44 
GeneralNice .... PinmemberAbhijit Jana20-May-08 2:04 
GeneralRe: Nice .... Pinmemberashu fouzdar20-May-08 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 16 May 2008
Article Copyright 2008 by Ashutosh Phoujdar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid