Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Update option: skip hashed files, add new files to hashfile #265

Open
simsong opened this issue Dec 7, 2012 · 2 comments
Open

Comments

@simsong
Copy link
Collaborator

simsong commented Dec 7, 2012

Converted from SourceForge issue 3484750, submitted by albert250

As I understand it, -X mode will recalculate hashes for ALL files, and display only the hashes of new (or changed) files.
This means that if you have a directory with many huge files, and just add a couple of files to it, it will take ages to recalculate all hashes.
I would like an "update" option to skip the hash checking of files existing in my md5 file, and only append the digests of new files.

The reason is that I don't expect existing files to change, but I want to keep a checksum file to be able to check copies to another disk. The directories I deal with are usually dozens of GB, so checking only the copy and not rechecking the original files makes a big difference.

Thanks a lot for these great utilities.

@simsong
Copy link
Collaborator Author

simsong commented Dec 7, 2012

Submitted by nobody

I would like it too.

Currently calculating hashes for 529 GB. Normally the changes are a few GB, this makes a huge difference.

I do check all, but not always given the time it takes.

@michaelx
Copy link

+1, this would be really useful, if you just want to update the known hashes. Later an audit can be run without skip to verify the integrity of all files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants