vault backup: 2025-03-07 11:23:07

This commit is contained in:
2025-03-07 11:23:07 +08:00
parent 8bef1e67d9
commit 0c31f9ea89
5 changed files with 433 additions and 44315 deletions

View File

@@ -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