> For the complete documentation index, see [llms.txt](https://www.tvrename.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.tvrename.com/menu/tools-menu/remove-shows-with-no-folders.md).

# Remove Media With No Folders

**Tools > Remove Media With No Folders...** tidies TV Rename's library by removing TV shows and movies whose folders no longer exist on disk, for example shows you have finished and deleted.

It only changes TV Rename's own list. **No files or folders are deleted.**

A progress window checks the library, then the **Scan** tab opens with each show or movie to be removed listed under **Remove from library**. Untick any you want to keep, then click `Do Checked`.

A TV show is proposed for removal only when all of these are true:

* at least one of its episodes has aired,
* none of the folders TV Rename expects for it exist, and
* its base folder doesn't exist either. A show whose base folder is still there, even if it is empty, is kept.

A movie is proposed when it has been released and none of its folders exist.

Shows that haven't started airing and movies that haven't been released are never proposed, as you wouldn't have any files for them yet.

{% hint style="info" %}
If you remove something by mistake, add it again. Anything you had customised for it, such as a custom name or ignored seasons, will need setting again.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.tvrename.com/menu/tools-menu/remove-shows-with-no-folders.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
