-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Allow deleting nonempty directorys #2760
Comments
Now that delete will actually move to trash (coming in 5.3) we should allow Jupyter to delete non-empty directories. |
We should first check that send2trash actually allows you to send directories to trash on different platforms, not just individual files. |
I just verified with non-empty directories on macOS 10.13, Ubuntu 16.04, and Windows 10 using |
In all cases I was able to delete and restore the folder. |
Thanks @blink1073 :-) |
Then, should be closing this one? |
@takluyver is this ready to close? |
No, I think @blink1073 checked that the underlying code we're using is able to delete nonempty directories correctly. Someone still needs to enable that in our code before we can close it. |
Has it been already solved?? |
Hello,
It is frequently useful to be able to delete non empty dirs, especially if there are many subfolders. Could you please add a feature for that (deleting nonempty dirs, maybe with a confirmation)?
The text was updated successfully, but these errors were encountered: