husjon / obsidian-file-cleaner-redux

A plugin for Obsidian to help clean up files in your vault
MIT License
28 stars 2 forks source link

Check box for Preview of deleted files #58

Open 3fok opened 2 months ago

3fok commented 2 months ago

image On this part, can we have a check box for not delete some file?

husjon commented 2 months ago

I definitely see this as a good improvement, I'll see what I can do when I have some time.

husjon commented 2 months ago

Hi, I've started looking into this.

The initial implementation looks like the following and works fine. image Only the selected files and folders will be removed.

There is however an issue which I'll need to look into before making it available and that is if one de-selects a folder higher up in the structure, the sub-folders and files should also be de-selected.

Example: the following would cause this issue image

Even though the file is de-selected the parent folders would be removed.