send2trash icon indicating copy to clipboard operation
send2trash copied to clipboard

Python library to natively send files to Trash (or Recycle bin) on all platforms.

Results 35 send2trash issues
Sort by recently updated
recently updated
newest added

This function is referred in Jupyter server folder deletion logic. We observed the error in jupyterlab app and here in this description we try to simplify the scenario and reproduce...

When the directory adress (on windows) is mixed with \\ and / Os seems to throw an error. So, can you auto sanitize them based on OS path splitter?

Just was curious to see if folks had issues with partitioned drives and sending to the bin. Currently using the script and its working great on my local drive but...

bug
windows

Hi! As part of the Debian build, the package tests are run in a minimal chroot environment. I've set the `HOME` environment variable first: ``` (sid-sbuild)jdg@euler:/build/send2trash-IKQvlF/send2trash-1.8.1~b0$ export HOME=$(mktemp -p) (sid-sbuild)jdg@euler:/build/send2trash-IKQvlF/send2trash-1.8.1~b0$...

after deleted by send2trash command there is no "put back" or "restore" menu in the right click menu in trash can on OSX (10.10.x), but the files which were deleted...

bug
macOS

Hi Andrew! All of the copyright notices say that this package is copyright by Virgil Dupras, but you seem to be making all of the recent commits and own the...

https://github.com/SublimeText/Issues/issues/209 Thanks!

bug

Traceback (most recent call last): File "build/bdist.linux-i686/egg/send2trash/plat_gio.py", line 12, in send2trash gi._glib.GError: Unable to find or create trash directory During handling of the above exception, another exception occurred: Traceback (most...

bug

This is a follow up to an issue opened on Jupyter: https://github.com/jupyter/notebook/issues/3631 send2trash on Windows uses the `SHFileOperation` interface with the `FOF_ALLOWUNDO` flag to move files to the recycle bin....

bug
windows

Whenever I delete either 1) a large audio file or 2) a directory containing a bunch of audio files, they don't end up in the trash. Maybe a combined file...

bug
macOS