option to delete not simply a given video file, but the entire folder it's in?

I mainly only watch current TV shows from bittorrent, and the downloads have gotten, over the last several years, increasingly uglier-ly clogged with .nfo and …sfv and .txt, and jpeg stills, and sub-folders full of Samples.

I have a constantly-improving bash script that tries to clean these things up after watching a given TV episode, but it’s not always optimal, and it seems like some of the Scene releasers just keep finding new junk files to add. e.g. I don’t always want my script to delete absolutely every single .srt/.sub/.ass file, but haven’t figured out the best conditions to make that happen. or, don’t even get me started on bizarre dealthless .fuselist_blahblahblah files in lunix (actually, due to the nature of filesystem locks and i/o, this specific part is likely 100% un-doable.)

and even if I delete an episode while in a Season or Show section of PLEX, I don’t think it deletes anything other than the actual single video file. and leaves the rest of the folder alone.

so: is it difficult/hard/crazy/unreasonable to ask to make this a PLEX client feature? (honestly I don’t know.)

(movies or films, I don’t worry about, since what I have is all optical-rips from before I sold all my 500-odd DVDs some years ago, so I don’t really want to delete those. Nota Bene? you generally never get nasty letters from your ISP by downloading TV shows. but like 8 or 10 years ago, someone I knew who shall remain nameless, totally got like 2 or 3 of those letters, luckily from all different ISPs, 'cos the first letter you, er, he, would get is simply "hay I saw that thing you did that time, just delete it immediately and we’re cool.)

Early 2021 clean-up: duplicate