Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How open a vault via cli #6

Open
B0bbyD0llar opened this issue Feb 10, 2025 · 2 comments
Open

Question: How open a vault via cli #6

B0bbyD0llar opened this issue Feb 10, 2025 · 2 comments
Labels
question Further information is requested

Comments

@B0bbyD0llar
Copy link

Hi,

how can I open a specific vault? Add --vault=path/to/vault does not work.

@Numstr Numstr added the question Further information is requested label Feb 10, 2025
@Numstr
Copy link
Owner

Numstr commented Feb 10, 2025

Hi, have you tested this command switch on regular obsidian? Didn't find information about --vault.

You can open a specific vault if it is already added to obsidian.
Something like this: ObsidianPortable.exe "obsidian://open?vault=VaultName" if vault name contains spaces, you need to replace it with %20.
Check this link Obsidian URI.

@B0bbyD0llar
Copy link
Author

B0bbyD0llar commented Feb 11, 2025

Hi, have you tested this command switch on regular obsidian? Didn't find information about --vault.

You are right. I should not trust AI that much. ;-)

You can open a specific vault if it is already added to obsidian. Something like this: ObsidianPortable.exe "obsidian://open?vault=VaultName" if vault name contains spaces, you need to replace it with %20. Check this link Obsidian URI.

I will test this. Thanks for this advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants