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

Any way to exclude certain multiple folders when checking for duplicates ? #147

Open
LxHobbist opened this issue Dec 15, 2023 · 2 comments

Comments

@LxHobbist
Copy link

When trying to find duplicates in my External Hard drive, I want to exclude certain multiple folders. Any way to do this ?
Really, love the tool !
if it is not possible, can you please add this as a feature for future enhancements ?
Thank you !

@seal20
Copy link

seal20 commented Feb 19, 2024

Would be very useful indeed.
I am trying to run rdfind on a btrfs subvolumes that is snapshotted frequently, and rdfind will go within all snapshots ending up with hundreds of terabytes to scan. A simple --exclude */.snapshots would solve this problem. Maybe some options using inodes could be used but I am not sure on how cow filesystem link snapshots. At the moment, I have to put all individual folders nu snapshots as a list.
Thanks

@whoschek
Copy link

whoschek commented Apr 22, 2024

I agree!
In addition would be great to exclude all files (not just directories) that match at least one of a given set of file name patterns, for example: --exclude '*/*/*.txt' --exclude '*.bak'

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

No branches or pull requests

3 participants