> Dear Uwe, > * Uwe Brauer [2020-12-10 22:45]: > (require 'dired-x) > (defun dired-to-org-links () > "Generates Org links for Dired files and stores in memory. Yank > it in other buffer" > (interactive) > (let* ((files (dired-get-marked-files))) > (when files > (kill-new > (with-temp-buffer > (dolist (file files) > (let* ((base (file-name-nondirectory file)) > (link (format "[[file:%s][%s]]\n" file base))) > (insert link))) > (buffer-string)))))) Thanks, that is very nice. I played a bit around with org-fstree, that is also useful.