md5copy

An utility that will copy one or more files / directories to a destination, and compute an md5 checksum on the fly.
Download

md5copy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • David Mohr
  • Publisher web site:
  • http://cs.unm.edu/~dmohr/grub.php

md5copy Tags


md5copy Description

An utility that will copy one or more files / directories to a destination, and compute an md5 checksum on the fly. md5copy is an utility that will copy one or more files / directories to a destination, and compute an md5 checksum on the fly. Currently the .md5 files are generated per directory.UsageThe source files / directories have to be specified on the command line. Then a dialog will pop up asking you for the destination, unless it was also specified on the command line (-d switch).This should allow easy bindings in file managers.W A R N I N GSimilarly to how `cp' works, md5copy currently overwrites destination files without warning!The checksum will be saved in one .md5 file per directory. So if you have a layout like:a/ sub1/ (some files) sub2/ (some files)you would end up with the following checksum files: * a/sub1/sub1.md5 * a/sub2/sub2.md5 Note that there is no a/a.md5, because there were no files (just directories) inside of a/.I recommend the program cfv to verify files. cfv has the '-r' switch, which allows you to verify a whole directory structure copied with md5copy.InternalsAt the moment md5copy is slightly unoptimized to copy a large number of small files, since the total size of the copy operation is calculated first.The mhash library is used to compute the checksum. This should make md5copy pretty reliable, and at no point in testing there was ever an incorrect checksum.md5copy should be pretty fast. The reading part was inspired by GNU coreutil's md5sum. GUI, copy and hashing are all run in separate threads, so the hashing should not slow down the copying (although this statement has not benchmarked very well). Requirements: · gtk+ toolkit · mhash library


md5copy Related Software