-
Notifications
You must be signed in to change notification settings - Fork 35
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
Ignoring files or directories, or specifying files to be scanned #12
Comments
Wow, 0.1% in 20 hours is pretty awful. As for a predefined file list, I'm thinking about an ignore list instead. If you really want to track known files, you can easily do it with md5sum and friends. |
I do not mean tracking known files, I thought about being able to use bitrot as part of a toolchain. E.g. |
I made a fork of the project to do this: https://github.com/benshep/bitrot You can use |
@benshep Are you planning to update your fork for bitrot 1.0.0? (I need to exclude some Maildir directories that contain files that get frequently modified by IMAP syncing.) |
I think it should be fairly straightforward to make a pull request from my fork. I'll try to find some time for that this week. |
@huyz My fork has been updated to 1.0 now @pallinger My fork has both inclusion and exclusion lists |
Great! I guess we can use your fork @p1r473 - thanks. That saves me a bunch of effort, and I'm certain you'll have done it better than I would ☺ |
@p1r473, wow, you updated the fork to 1.0? That's amazing. If you'd like to submit your support for ignoring files as a pull request, I'll accept it. |
@p1r473 Great! I can't find the usage instructions for how to include and exclude. How does one do it? |
There are just so many changes from my fork... I think I've more than doubled the line count |
py bitrot.py --exclude-list exclude.txt --include-list include.txt |
@p1r473 You have made a lot of changes. Can you describe all the changes you've made? (Maybe add them to your version of the README?) |
They are already in my readme |
I meant, as a separate section so that it’s clear what features your fork adds to the original repo |
I know this is quite a big feature, but could be nice to have: I have a lot of small backup files in a directory, and bitrot is progressing really slowly (0.1% in ~20 hours).
One simple implementation would be for bitrot to accept a predefined file-list, which could be generated by find or similar, that has already exclude options. I may start to work on it, if I have the time. :)
The text was updated successfully, but these errors were encountered: