reddit / emacs

Copy Image/File inserted to Org Note (Roam)

TyrionBean · 2022-06-14 17:46
Hey there, Quick question: I'm on a Mac and I'm running emacs. When I insert an image (or other file) into an Org Roam note, how can I set it so that it copies that file to roam/images/ so that I don't break any links when syncing to my other server? Basically, I want org roam to be self-contained and not rely on files inserted from outside of the directory, if that's possible? Thanks for any help.
vaxdar · 2022-06-14 18:56
Take a look at `org-attach`. Not roam-specific, but can do that job well.
TyrionBean · 2022-06-14 19:11
Thanks! That looks like what I needed. Much appreciated.