Linux command
obsidian 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch Obsidian
obsidian
Open a specific vault
obsidian "obsidian://open?vault=[vault_name]"
Open a specific file
obsidian "obsidian://open?vault=[vault_name]&file=[path/to/note]"
Create a new note
obsidian "obsidian://new?vault=[vault_name]&name=[note_name]"
Create a new note with content
obsidian "obsidian://new?vault=[vault_name]&name=[note_name]&content=[Hello world]"
Search within a vault
obsidian "obsidian://search?vault=[vault_name]&query=[search_term]"
说明
Obsidian is a knowledge management and note-taking application that operates on a local folder of plain Markdown files. It emphasizes linking between notes to build a personal knowledge graph, displayed as an interactive graph view. All data is stored locally in plaintext, making notes future-proof and accessible with any text editor. The application supports a rich plugin ecosystem, with core plugins for backlinks, tags, templates, daily notes, and canvas boards, as well as a community plugin marketplace. Vaults are the fundamental unit of organization, each corresponding to a directory on the filesystem. Obsidian uses a URI scheme (obsidian://) for inter-application communication and automation, allowing external scripts and tools to open vaults, create notes, and perform searches.
参数
- --version
- Print version information and exit.
- --help
- Display help information.
- --disable-gpu
- Disable GPU hardware acceleration.
- --enable-logging
- Enable logging to the console.
FAQ
What is the obsidian command used for?
Obsidian is a knowledge management and note-taking application that operates on a local folder of plain Markdown files. It emphasizes linking between notes to build a personal knowledge graph, displayed as an interactive graph view. All data is stored locally in plaintext, making notes future-proof and accessible with any text editor. The application supports a rich plugin ecosystem, with core plugins for backlinks, tags, templates, daily notes, and canvas boards, as well as a community plugin marketplace. Vaults are the fundamental unit of organization, each corresponding to a directory on the filesystem. Obsidian uses a URI scheme (obsidian://) for inter-application communication and automation, allowing external scripts and tools to open vaults, create notes, and perform searches.
How do I run a basic obsidian example?
Run `obsidian` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --version do in obsidian?
Print version information and exit.