md5cp will traverse a file tree and check the MD5 checksum of each file. If the file is unchanged, it is ignored; if it is changed (or new), its MD5 is updated in the database, and the file is copied to the destination directory. A number of optional parameters can change what happens in addition to the file copy.

This utility is useful for situations when file dates are corrupt and rsync cannot be used.

Copyright (C) 2013 The Regents of the University of Michigan

Features

  • Fast SQLite database to track MD5 checksums for a tree
  • Reports on CPU and Real time of a run (--timer)
  • Option to scan-only--useful for initialization of db (--nocopy)
  • Option to run a script if a file extension is encountered (--extexec)
  • Option to build a subpath based on fields in source file names (--fields, --use_only)
  • Reports file count progress (turn off with --nocounts)
  • Can specify a rules file (--ruleset), where you can write regular expressions for filenames, and upon matches will supercede the global command line options

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

GNU General Public License version 3.0 (GPLv3)

Follow md5cp

md5cp Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of md5cp!

Additional Project Details

Languages

English

Intended Audience

System Administrators

User Interface

Command-line

Programming Language

C

Database Environment

SQL-based

Related Categories

C File Managers

Registered

2013-09-05