trying to enter my obsidian icloud folder from terminal
i see folders in my icloud but not obsidian folder
in finder obsidian folder has small obsidian icon included
inside i have two folders for my two vaults
i see those folders and can access them in finder but not in terminal
What I’m trying to do
access obsidian folder from CLI
to use some js libraries on markdown files
Does it work if you right-click the Obsidian folder, and in Services select New Terminal at Folder?
You can also right-click the folder, press Option, and select Copy "Obsidian" as Pathname, then past it in Terminal (and in Obsidian to save for later).
When in Terminal and doing ls, it doesn’t show hidden folders, like the .obsidian folder, but it is there. To actually see it, you need to do ls -a. You can also just change into it (without seing it), using cd .obsidian when you’re standing in the vault folder.
When in Finder, you need to hit Shift + Cmd + . when you’re standing in the vault folder, to see and access the .obsidian folder.
(Not sure how to get to the ICloud folder in the first place, but when in the vault folder my suggestion should work)
My final goal is to use markdown-merge on my old daily notes to merge them. I am unable to run the library inside my obsidian icloud folder, but when i copied daily notes subfolder to my desktop it worked. On icloud i get error:
iMac-Robert:04-2022 robert.matyszewski$ merge-markdown -m /Users/robert.matyszewski/Library/Mobile Documents/iCloud~md~obsidian/Documents/Robert/02 journal/*2022/04-2022
\Error: ENOENT: no such file or directory, lstat ‘/Users/robert.matyszewski/Library/Mobile’