Attaching files in a subfolder

I have a lot of notes (~2500) that contain the filenames of attachments (e.g. ‘note title.pdf’). These attachments are located in a subfolder. I am wondering if it is possible to automatically create working links to those files?

As with the tags, there’s no built-in way to do this but you can create your own script to do it.

How can I insert relative links to files in a local subfolder? This sounds interesting.

I’m not sure about relative paths, but you can do absolute path links in the following manner (works for me in linux):


To Laurent’s point: you could write a script that walks your folder structure, gathers all of the paths together, copies them to your clipboard, and then you can paste them into a note in Joplin.