vault backup: 2025-03-07 11:23:07
This commit is contained in:
@@ -277,7 +277,7 @@ Command:
|
||||
obsidian://adv-uri?vault=<your-vault>
|
||||
```
|
||||
|
||||
## Launch URL
|
||||
## Launch URI
|
||||
### Browser
|
||||
|
||||
You can simply enter the URI into the search bar. It will ask you to confirm the execution.
|
||||
@@ -314,6 +314,14 @@ Use the PowerShell command `Start-Process` to launch an Obsidian URI.
|
||||
Start-Process "obsidian://adv-uri?filepath=test"
|
||||
```
|
||||
|
||||
## 整合到 batch
|
||||
Now we can write a batch file to pull git and open Obsidian with specific vault.
|
||||
```bat
|
||||
cd "<paht_of_your_vault>"
|
||||
git pull origin master
|
||||
powershell -Command "Start-Process 'obsidian://adv-uri?vault=<name_of_your_vault>'"
|
||||
```
|
||||
|
||||
# References
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user