# New Utility Plugin: Empty OS Trash

**URL:** <https://forums.plex.tv/t/new-utility-plugin-empty-os-trash/20276>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [August 20, 2012, 9:30pm UTC](https://forums.plex.tv/t/new-utility-plugin-empty-os-trash/20276 "2012-08-20T21:30:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CalebC](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@CalebC](https://forums.plex.tv/u/CalebC)\
**Post date:** [August 20, 2012, 9:30pm UTC](https://forums.plex.tv/t/new-utility-plugin-empty-os-trash/20276/1 "2012-08-20T21:30:31Z")

</div>

Empty OS Trash Plugin
Hi All,  
  
I have completed the beta version of my first plugin for Plex: Empty OS Trash. I wrote it to avoid having to go to my server machine to empty the trash whenever I deleted a movie in Plex.  
  
Empty OS Trash supports servers on Windows or OSX. It empties the trash (or recycle bin) on the server machine. I have tested it on OSX 10.6 (MacPro and a Hackintosh) as well as on Windows XP.  
  
If you choose to use it on another flavor of Windows or OSX, please let me know if it works. Also, any advice for improvement or for my code would be very much appreciated as this is also my first Python script.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 10:10pm UTC](https://forums.plex.tv/t/new-utility-plugin-empty-os-trash/20276/2 "2019-12-20T22:10:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
