JupyterLab .Trash folder

Hi Brian,

I was trying to recover a deleted file and it seems that since the new update (perhaps 2.9.0) when deleting a file in JupyterLab, the files are no longer moved to the Trash directory. I tried looking for a setting but could not find anything related.

Is there a way to reenable this feature again?

Thanks

Unfortunately JupyterLab will skip the trash because /codeload is a Docker volume and thus is on a different partition from the home directory (/root), and JupyterLab checks for that (although I think checking for that is unnecessary in this situation):

Skipping trash for /codeload/<filename>, on different device to home directory

This has always been the case, so I'm not sure why this would have worked in the past and not now. At this point I can't think of a way to fix that. I think the better approach is to commit your file and notebooks to a Git repository which makes the Trash irrelevant.