# Empty Folder Deletion

**URL:** https://forums.plex.tv/t/empty-folder-deletion/215913
**Category:** Feature Suggestions
**Created:** [November 30, 2017, 2:54am UTC](https://forums.plex.tv/t/empty-folder-deletion/215913 "2017-11-30T02:54:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TelecomGuy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/telecomguy/32/20319_2.png) [@TelecomGuy](https://forums.plex.tv/u/TelecomGuy)
#### Post date: [November 30, 2017, 2:54am UTC](https://forums.plex.tv/t/empty-folder-deletion/215913/1 "2017-11-30T02:54:36Z")

</div>

Recently, PLEX Server was given a feature that automatically deletes program folders when they become empty. While that is great, it really takes too much control and causes me issues as a Windows Media Center user.

I have batch files that move certain recorded \*.wtv programs from the RecordedTV folder into their own program subfolders so PLEX can index them. This allows me to access them via PLEX apps.

HOWEVER, If I delete the last episode in the folder via PLEX, it deletes the RecordedTV subfolder and the next time my batch file runs… it fails.

Could you please add a “checkbox” feature that allows users to decide if I want the folders deleted? It could be set to “YES” when rolled out so nothing would change for your user base. But users, such as myself, could go back and uncheck the option for as long as we continue to need this functionality.

FEATURE REQUEST:

Add option to “Library” Settings, under “Allow media deletion”

[X] Delete program folders when last episode is deleted

Thank you for your time.

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [March 1, 2021, 8:37pm UTC](https://forums.plex.tv/t/empty-folder-deletion/215913/2 "2021-03-01T20:37:32Z")

</div>

Early 2021 clean-up: duplicate

> [@\[Request/Bug\] Delete movie folder](https://forums.plex.tv/t/request-bug-delete-movie-folder/119226):
>
> Currently when deleting a movie in PHT or Plexweb it only deletes the movie file. I have my movies in separate folders so I can add posters & trailers and stuff. So now I have to manually delete the folders which takes a lot of time. Would be nice and logical if it also deletes the containing folder with the same name.

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [June 10, 2021, 12:43am UTC](https://forums.plex.tv/t/empty-folder-deletion/215913/3 "2021-06-10T00:43:08Z")

</div>


