Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filenames with parentheses not deleted #134

Open
jordiblanchcarles opened this issue Aug 13, 2021 · 0 comments
Open

Filenames with parentheses not deleted #134

jordiblanchcarles opened this issue Aug 13, 2021 · 0 comments

Comments

@jordiblanchcarles
Copy link

jordiblanchcarles commented Aug 13, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant