Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 CMakeLists.txt
Octocat-spinner-32 README
Octocat-spinner-32 SequenceComparer.cpp
Octocat-spinner-32 SequenceComparer.hpp
Octocat-spinner-32 hedgecopy.kdev4
Octocat-spinner-32 main.cpp
README
hedgecopy README
================
:Author:    Alexander Schwoch
:Email:     alex@palc.de
:Date:      17.10.2012
:Revision:  0
:toc:

:originalArticleUrl:    http://www.codeproject.com/Articles/453868/Fault-Tolerance-for-Large-Files-on-Cranky-Hardware
:relatedArticleUrl:     http://www.codeproject.com/Articles/462786/Fault-tolerant-file-comparison
:repairArchiveUrl:      http://www.youtube.com/watch?v=6KeFNOalLOg
:asciidocUrl:           http://www.methods.co.nz/asciidoc/index.html
:cpolUrl:               http://www.codeproject.com/info/cpol10.aspx

== Purpose

The source code that comes with this project is a development version of the 
code {relatedArticleUrl}[described in my related Code Project article].

It is designed to copy and/or verify the integrity of usually large files which 
can not be copied flawlessly given the standard tools on "cranky hardware". I
ecperienced this and manually had to "repair" a large archive 
{repairArchiveUrl}[as described in my video available on YouTube (in german)].
 

== License

As I created the program as a result of {originalArticleUrl}[reading another 
article with the same name] as mine, I will publish this under the same license. 
This work is published under the {cpolUrl}[The Code Project Open License 
(CPOL)].

The main points subject to the terms of the License are:

 - Source Code and Executable Files can be used in commercial applications;
 - Source Code and Executable Files can be redistributed; and
 - Source Code can be modified to create derivative works.
 - No claim of suitability, guarantee, or any warranty whatsoever is provided. 
   The software is provided "as-is".
   
 
== Attributions
   
 - Initial idea to this program is derived from the code project article
   {originalArticleUrl}[Fault Tolerance for Large Files on Cranky Hardware]
   
 - This file was generated by or may be transformed with 
   {asciidocUrl}[asciidoc].
   
== Documentation

To compare two files run hedgecopy with two arguments. Note: In a future version
copying will be added with this command.

 <INPUT_FILE> <COMPARE_FILE>
 
e.g. 

 ./hedgecopy ./-file-1 ./-file-2

=== Switches 

All switches must be submitted before the input files, meaning that the files
to compare must be the last two arguments.

+-e+ instructs hedgecopy to compare files instead of copying.

+-p+ instructs hedgecopy to print its progress in percent. Implies -v.

+-v+ verbose output. Number of retries and its offsets will be printed.

+-k+ Keep running even if a files are considered different.

+-r=<N>+ sets the number of retries to <N>. Defaults to 3.


Something went wrong with that request. Please try again.