rmlint
rmlint copied to clipboard
exclude/ignore subdirectory option
Hi, I can't seem to find an option to ignore or exclude certain paths.
let's say i want to work within /foo but i have a directory like /foo/some/dir and also /foo/some/dir-backup which is a backup of the folder. i would then like to exclude /foo/some/dir-backup and any of its files from consideration.
i have been playing with the tagged paths but this would still consider /foo/some/dir/file.txt and /foo/some/dir-backup/file.txt to be duplicates. I have tried the --keep-all-untagged, --keep-all-tagged, --must-match-tagged and --must-match-untagged options, but none seem to behave as i would like, which is to effectively ignore the backup directory and if a file is only found once (outside of the tagged/backup directory) then don't consider it a duplicate.
is this possible?
thanks!