Obsidian is such a valuable tool. Using it for writing my blog posts, organizing my thoughts and research, as well as managing my projects.
The files for all of these things live in one folder, building structure through links and .base files.
Obsidian is such a valuable tool. Using it for writing my blog posts, organizing my thoughts and research, as well as managing my projects.
The files for all of these things live in one folder, building structure through links and .base files.
I just noticed Obsidian has a CLI mode now?! I gotta investigate soon; looks interesting...
After a bit more research I learned all I should have done is rename the property in the All Properties view. Oh boy.
I wanted to mass change the case of the property `TnG_tracker` to `TnG_Tracker`. I've tried several *Search&Replace* plugins:
- [Global Search and Replace] didn't have the function to replace in all files at once.
- [Replace All] Couldn't replace property names.
🧵1/2
Petit tour d'horizon de mes gabarits pour Obsidian (c'est la mode, apparemment :D ).
Mes gabarits pour Obsidian : https://lamecarlate.net/carnet/mes-gabarits-pour-obsidian/
#carnet #blog #obsidianMD #100DaysToOffload (23/100)
One more thing:
- Obsidian messes with the stdin somehow, so if used in a while loop fed from a stdout stream, all obsidian commands must be postfixed with `< /dev/null`, so it won't read the stdin of the loop, otherwise it terminates the loop (maybe the whole script). That took me a while to find out.
Wrote my first script for mass importing data into my vault. My observations:
- I first created .md files using shell commands. It messed up the cache in Obsidian, causing reset of all metadata, GUI reset, losing history. The vault was not harmed, thank god, and I could revert the changes via Git. So, even creating files should be `obsidian create`
- It is SLOW. Every command routes through the running Obsidian instance, causing reindexing at every single command.