I've set up a vserver with my directory containing various
.txt files used as Org files and other files.
Now I am trying to get my local Emacs build an agenda gathering all data from the remote files scattered in different subfolders of my remote directory
So I found this
(setq org-agenda-files (mapcar 'abbreviate-file-name (split-string (shell-command-to-string "find ~/org -name \"*.org\"") "\n")))
I customized it to
(setq org-agenda-files (mapcar 'abbreviate-file-name (split-string (shell-command-to-string "ssh email@example.com \"find ~/nexus -name \"*.txt\"\"") "\n")))
.txt files for agenda items (
.txt files work for my agenda locally - I've managed to do that). But it still won't work.
My guess: I did not write the shell query correctly.
Also, I am wondering if this would be a suited approach to check my agenda remotely from different devices. For example, it is planned to setup orgzly and termux later to also access those files.
The size of the nexus is about a few thousand different files and a few hundred text files with org content stretching for 500 to 5000 lines.