Skip to content

Filter input - only files with same relative paths #550

@james-cook

Description

@james-cook

Is there any way to filter input to allow only files with same relative paths through.
Something like the existing --match-basename but for paths?

i.e. a duplicate file is only found if it shares the same relative path - with an option such as --match-dirname...

Pseudo code:
rmlint <other options> --keep-all-tagged --match-dirname --match-basename DIR1 // DIR2

(This would only work/make sense with tagging I think, and --must-match-tagged would not be needed in this case as files must have the same relative path in any case)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions