Function: org-roam--list-files-find
org-roam--list-files-find is a byte-compiled function defined in
org-roam.el.
Signature
(org-roam--list-files-find EXECUTABLE DIR)
Documentation
Return all Org-roam files under DIR, using "find", provided as EXECUTABLE.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam.el
(defun org-roam--list-files-find (executable dir)
"Return all Org-roam files under DIR, using \"find\", provided as EXECUTABLE."
(let* ((globs (org-roam--list-files-search-globs org-roam-file-extensions))
(names (string-join (mapcar (lambda (glob) (concat "-name " glob)) globs) " -o "))
(command (string-join `(,executable "-L" ,dir "-type f \\(" ,names "\\)") " ")))
(org-roam--shell-command-files command)))