Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/husjon/obsidian-file-cleaner-redux
A plugin for Obsidian to help clean up files in your vault
https://github.com/husjon/obsidian-file-cleaner-redux
obsidian obsidian-md obsidian-plugin obsidian-vault
Last synced: 17 days ago
JSON representation
A plugin for Obsidian to help clean up files in your vault
- Host: GitHub
- URL: https://github.com/husjon/obsidian-file-cleaner-redux
- Owner: husjon
- License: mit
- Created: 2023-11-02T18:49:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-13T15:52:17.000Z (30 days ago)
- Last Synced: 2024-11-13T16:32:10.139Z (30 days ago)
- Topics: obsidian, obsidian-md, obsidian-plugin, obsidian-vault
- Language: TypeScript
- Homepage:
- Size: 898 KB
- Stars: 32
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- project-awesome - husjon/obsidian-file-cleaner-redux - A plugin for Obsidian to help clean up files in your vault (TypeScript)
README
## File Cleaner Redux
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
## What this plugin does
- 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: https://github.com/husjon/obsidian-file-cleaner-redux/issues/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](https://github.com/husjon/obsidian-file-cleaner-redux/pull/57))### How to use the plugin
- Click the "File Cleaner" ribbon icon or add a Keybinding for the `Clean files` command.
### Screenshots
#### Plugins Settings (showing default values)
![Options](images/Options.png)
#### Preview of deleted files
![Preview deleted files confirmation](images/PreviewDeletedFiles.png)
#### Hotkeys
![Hotkeys](images/Hotkeys.png)
### Known issue
- ~~Attachments used in [Admonition](https://github.com/valentine195/obsidian-admonition) code blocks are not recognized~~