Skip to content

matching cleanup filenames by wildcard strings #57

@moimikey

Description

@moimikey

would it be worth changing

if *val == cleanup.value {
to use .contains or some kind of glob matcher. I'm trying to delete all files in a directory and not the directory itself, because i want it to remain empty, but still present.

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