In a fit of energy over the weekend, I added some basic Recycle Bin functionality to the winshell module. (And thanks to Steve Reiss for the suggestion and for ideas about convenience functions). As of version 0.6.1 you can now:
- Iterate over items in the recycle bin
- Determine what versions of a file there are in the recycle bin
- Undelete the latest or a specific version of a file
- Empty all recycle bins
You could already delete to the Recycle Bin (via delete_file). Now you can undelete as well!