laktak / chkbit-py

Check your files for data corruption
MIT License
96 stars 6 forks source link

Added --skip-symlinks option #5

Closed jminor closed 1 year ago

jminor commented 1 year ago

I had trouble using chkbit because I happened to have some symlinks pointing up to a higher folder, causing chkbit to loop endlessly. This PR adds a --skip-symlinks option to avoid this, or any other unexpected results due to symlinks.

Note also, that to get this to work locally, I had to make an __init__.py file which is not present in the repo, nor this PR, due to the _* in the .gitignore. I'm not sure if this is intentional, or some Python version difference or something else I don't understand. Let me know if you'd like me to include the __init__.py in this PR.

laktak commented 1 year ago

Thanks, looks good!

Not having __init__.py was a mistake - I'll fix it.