Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: