ozntel / oz-clear-unused-images-obsidian

Obsidian plugin to clear the images that are not used in note files anymore
194 stars 16 forks source link

[FR] delete images only in all folders with specific name, e.g. "assets" #8

Open benpla opened 2 years ago

benpla commented 2 years ago

I put all the images I insert into Notes in a subfolder called "ASSETS". This folder exists in every directory. Furthermore, there are many images that stand completely alone, for example because they belong to the project and stand alone. It would help me a lot if your plugin would check only all those images that are in the folders with special names (for me "ASSETS").

dawnlh commented 2 years ago

Hi~ @ozntel , thanks for your wonderfil work! I meet a similar problem. I place all inserted images in the "_attanchment" folder, which is an Obsidian setting. So it will be convenient to choose a folder for "clearing", rather than excluding all other folders.

ThisNoName commented 1 year ago

Any chance you can add setting of Included Folders, like assets, medias, etc; then do recursive look up? And as mentioned in other FR, a preview of pending delete w/ folder/name, and confirm deletel

Thanks.