File Cleaner Redux is a plugin for Obsidian (https://obsidian.md) to help remove unused / empty markdown files and attachments based on a few simple user-defined rules.
Based on https://github.com/Johnson0907/obsidian-file-cleaner
- Removes Markdown files with a size of 0 bytes.
- Removes user-defined attachment files (e.g: jpg, jpeg, png, gif, svg, pdf)
- Support for cleaning empty files containing only specific frontmatter (Optional) (See: #16)
- Removes empty folders recursively (Optional)
- Folder exclusion / inclusion (Optional)
- Set deletion location
- Move to system trash
- Move to Obsidian trash (.trash folder)
- Permanently delete
- Preview of list of files and folders that will be removed (Optional)
- Run on Startup (Optional)
- Supports the following external plugins:
- Admonition (as of v1.0.0 - #57)
- Click the "File Cleaner" ribbon icon or add a Keybinding for the
Clean files
command.
Attachments used in Admonition code blocks are not recognized