laktak / chkbit

Check your files for data corruption
MIT License
115 stars 7 forks source link

chkbit does not detect missing files or folders #16

Closed bumper314 closed 3 months ago

bumper314 commented 5 months ago

Because the .chkbit files reside inside a folder and only contains information about files and not folders, if an entire folder disappears from the tree, this will not be caught during a chkbit verify.

laktak commented 5 months ago

You are correct, chkbit only checks files for data corruption. It does not detect missing files or folders.

Is that a feature you would be interested in? What is your use case?

bumper314 commented 5 months ago

Given the stated goals:

chkbit is a tool that ensures the safety of your files by checking if their data integrity remains intact over time, especially during transfers and backups. It helps detect issues like disk damage, filesystem errors, and malware interference.

It seems you would want to know if a whole folder goes missing (e.g. malware removed a whole folder, a backup/transfer was incomplete, etc).

So yes, I would put my vote toward this feature 👍

laktak commented 5 months ago

Hmm, it seems easy enough to implement. I'll add it to my list :)

laktak commented 3 months ago

Released in v5.2.0