I am developing a file shredder for windows 32 using Python 2.7. One of the desired features is be able to shred all recycle bin contents.
As for other files, outside of the recycle bin, we implemented a "shred" function, which overwrites the file contents with garbage, and deletes the file.
However, in order to use this "shred" function on the recycle bin contents, we considered using this library. Using this library we can undelete the item first (restore it), then shred it. But, this method is not suitable because:
It may confuse the user who will shred the recycle bin contents, as he might see recycle contents appearing again in the file system while shredding.
Windows will display the "Resotring" dialog box, while the undelete function is running. This is not desirable.
Is there any advice on how to implement a recycle bin shredder?