trganda / obsidian-attachment-management

Attachment Management of Obsidian
MIT License
143 stars 8 forks source link

[FR]: Overrides path by extensions #56

Closed Mara-Li closed 7 months ago

Mara-Li commented 9 months ago

The overrides is great, but it doesn't difference between pdf and image, for example (if we handle all attachment). It will be cool to have a button to set custom path by extension in the settings and overrides settings.

The idea is to add a plus button, that populate a list. In the creating path, check the extension. If the extension exist in the list of the overrides or normal settings, apply the path instead of the default one.

It allow classifying better. For example, it allows me to move automatically all my PDF into _assets/pdf/{filename}

trganda commented 9 months ago

I have the similar ideas but never plan it. Tks for your request, I will rewrite this feature by refer your code. :)

trganda commented 9 months ago

Hi @Lisandra-dev, you can try to upgrade to 0.8.3 and test this feature. The handle all option was deprecated.