News for hackers. Stuff that matters.
Re:Ooops. by mikemaccana on Thursday June 16, 2011 @11:13AM (#2661583)
Normal Unix method of doing this is via LD_PRELOAD, then you wrap unlink() in something that moves things to a folder. I used something - think it was libtrash - when I used Linux on the desktop, but haven't investigated what the OS X equivalent would be.

There are no comments on this comment yet.