Skip to content

5. X and 6 X performs wildcard recursive directory deletion, which is invalid #136

@yangdan8

Description

@yangdan8

Files tree

files
  subDir
    folder1
      child1.txt
      child1.css
    folder2
      folder21
        child21.txt
        child21.png
    file0.txt
    file0.css

Command only delete "child1.txt"

del.sync(['./files/subDir/**/*.txt'])

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