dy-sh / obsidian-consistent-attachments-and-links

Obsidian plugin. Move note with attachments.
MIT License
202 stars 20 forks source link

Move attachments into a folder: Vault > FolderName > .attachments > NoteName > .......pdf/png/jpg etc #89

Open itoldusoandso opened 1 month ago

itoldusoandso commented 1 month ago

Is there any way to move attachments into a folder: Vault > FolderName > .attachments > NoteName > .......pdf/png/jpg etc

Currently attachments are in the same folder where the Note resides: Vault > FolderName > .......pdf/png/jpg etc

itoldusoandso commented 1 month ago

Nevermind, I figured it out. Need to configure properly:

_resources\${filename}

It's the field ATTACHMENT SUBFOLDER that needs to be configured.

image

I do not need the other options so they are disabled.

Main thing is configuring the path correctly because otherwise will not work without any warning.

Now I run the command ... Collect attachments... and the attachments are moved exactly as I described above and the attachment links are updated in notes.