laktak / chkbit

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

Feature or bug? All .dot files are ignored #21

Closed y653 closed 1 week ago

y653 commented 1 month ago

Hello again, and thanks your your great work.

I realised that all files beginning with a dot (.chkbit, .config, etc) are ignore from the checksuming process. I understand that this should be the default for .chkbit files that are produced during the checksumming phase, but what about all other .dot files? I have plenty of them in a linux PC, and I realised that these are not included in the checksums, even though I do not use any .chkbitignore file at all. I think that only .chkbit files should be excluded and all others only when they are included in the .chkbitignore file, possibly with wildcards (eg .conf*).

If you agree, you could probably include this change in a following version.

Again, thanks your your hard work!

laktak commented 1 month ago

They are not included by default but I'll add an option so you can include them if you wish.

y653 commented 1 month ago

That would be great, thank you!! All the best!

laktak commented 3 weeks ago

I forgot to comment, that option is now included.

y653 commented 3 weeks ago

Great thanks! In the releases though I see still the 5.2.0 version, that does not have this option.

laktak commented 3 weeks ago

Well the idea is that you test this before I do a release.

If you cannot build the source yourself, I've added prerelease-artifacts:

Prereleased versions can be found directly on the Git Action. Click on the latest action and look for prerelease-artifacts at the bottom.

You can download the zip and then extract the binary for your platform.

y653 commented 3 weeks ago

Thanks, I downloaded it.

laktak commented 1 week ago

I assume it works for you.

y653 commented 6 days ago

Sorry, I did not have the time to test it. I tested it right now, and it works just fine! Thank you very much for your time!!