rdfind
rdfind copied to clipboard
Any way to exclude certain multiple folders when checking for duplicates ?
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 !
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
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'