Home / GitHub Page

Attaching files in a subfolder


#1

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?


#2

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


#3

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


#4

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

[linkey](file:/home/username/.profile)


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.