diff --git a/personal/obsidian_getting_started.md b/personal/obsidian_getting_started.md index 63497fc..9787cba 100644 --- a/personal/obsidian_getting_started.md +++ b/personal/obsidian_getting_started.md @@ -1,4 +1,49 @@ -Here's a step-by-step guide to setting up and using your BrainArchive system in Obsidian, based on the provided details: +Here's a shell script that takes a variable named `vault_name` in Python case to create the directory structure for your BrainArchive system: + +```bash +#!/bin/bash + +# Define the default vault name +default_vault_name="BrainArchive" + +# Use the provided vault name or fall back to the default +vault_name="${1:-$default_vault_name}" + +# Create the main directory structure +mkdir -p "$vault_name/Inbox" +mkdir -p "$vault_name/Notes/Personal" +mkdir -p "$vault_name/Notes/Work" +mkdir -p "$vault_name/Notes/Projects" +mkdir -p "$vault_name/Notes/Research" +mkdir -p "$vault_name/Notes/Learning" +mkdir -p "$vault_name/Notes/Hobbies" +mkdir -p "$vault_name/Notes/Reference" +mkdir -p "$vault_name/Notes/Food" +mkdir -p "$vault_name/Notes/Tech" +mkdir -p "$vault_name/Templates" + +echo "Directory structure for $vault_name created successfully." +``` + +### Instructions to Use the Script: + +1. Save the script as `create_vault_structure.sh`. +2. Make the script executable: + ```bash + chmod +x create_vault_structure.sh + ``` +3. Run the script with the desired vault name or let it use the default name: + ```bash + ./create_vault_structure.sh + ``` + Or specify a custom vault name: + ```bash + ./create_vault_structure.sh MyCustomVault + ``` + +If no vault name is provided, the script will use "BrainArchive" as the default vault name. + +--- ## BrainArchive System Setup Guide