Skip to content

Filenames with parentheses not deleted #134

@jordiblanchcarles

Description

@jordiblanchcarles

Hello everyone,

I'm trying to use del to delete some files (and folders) in a folder and keep some others.

I'm passing an array of filenames to be deleted to del:

del([
  'filename (1).zip',
  'filename2.txt',
  'filename (3).odt'
]);

All the files in this folder that have filenames with parentheses, like 'filename (1).zip', are not deleted by del.

Is there anyone there that knows how to solve this problem?

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