> 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/clean-up-empty-library-folders.md).

# Clean Up Empty Library Folders

![](https://3508557057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx0gPeIfHpbgTioNust1M%2Fuploads%2FoBPnTDwOPMhnmzBKqRxu%2Fimage.png?alt=media\&token=ea124c8b-3f2d-45e7-b489-23ecb68edc1e)

TV Rename will create folders as seasons get announced and sometimes it will not remove unused movie folders. 'Clean Up Empty Library Folders' scans though:

* Base folder for each TV show and Movie in the library
* Movie Library Folders (and subfolders)
* TV Show Library Folders (and subfolders)

It shows the results of the scan in the Scan results screen and they can be activated by clicking on 'Do Checked',

{% hint style="danger" %}
Make sure you **double check** the folders it is proposing to remove. It considers a folder to be empty if it contains no video files. It does not check that they are not important for any other reasons.
{% endhint %}

{% hint style="info" %}
Note: The next scan may recreate some of the empty folders. If you have a season that has been announced, but no episodes aired yet then the folder will be (re)created
{% endhint %}
