add an attachment file with its relative path
How to add an attachment file of an item just with the relative path not the file's absolute path?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
'Edit > Preferences > Advanced > Files and Folders > Linked Attachment Base Directory'
and set it to
/home/myname/Dropbox/Library
and did the same in my other PC using windows
setting it to
C:\users\myname\Dropbox\Library
note that dropbox is in charge of syncing the files in different machines
then I use the option
(+) > Link to file
select a file and sync my library
Then when I try to open it in windows it does not work
when i used the debug flag it went something like this
"can't open C:\users\myname\Dropbox\Library\/home/myname/Dropbox/Library/text.pdf"
so it seems that it stored the full path instead of the relative path.
I think it worked the other way around (when I added something in windows and then tried to open in ubuntu)
What should I do to have it working they way I expect
i.e. adding links from any machine/OS and opening on any other
where the files are locate in the same directory tree under the confugired relative path
and the syncing is managed by dropbox or another cloud storage app.
thanks for reading my issue and for any help provided