Skip to content

Instantly share code, notes, and snippets.

@steeltroops-ai
Last active October 21, 2024 07:20
Show Gist options
  • Select an option

  • Save steeltroops-ai/75bab177ca12720c059730f25aa06df9 to your computer and use it in GitHub Desktop.

Select an option

Save steeltroops-ai/75bab177ca12720c059730f25aa06df9 to your computer and use it in GitHub Desktop.
This script creates a comprehensive folder structure in your Obsidian vault to help organize personal profiles, vision and goals, education, professional journey, creative expression, interests, relationships, health, digital presence, personal documentation, ideas, and future planning.
@echo off
setlocal enabledelayedexpansion
:: Automatically find the Obsidian vault path in the Documents directory
set "OBSIDIAN_DIR="
for /d %%D in ("%USERPROFILE%\Documents\*") do (
if exist "%%D\*.md" (
set "OBSIDIAN_DIR=%%D"
goto :found
)
)
:found
if not defined OBSIDIAN_DIR (
echo Obsidian vault not found in Documents folder. Please check your setup.
exit /b
)
:: Set the specific directory path for your "About Me" folder
set "BASE_DIR=%OBSIDIAN_DIR%\0. About Me"
:: Create the "About Me" folder if it doesn't exist
if not exist "%BASE_DIR%" (
mkdir "%BASE_DIR%"
)
echo Creating folder structure in: %BASE_DIR%
echo.
:: 1. Personal Profile
mkdir "%BASE_DIR%\1. Personal Profile"
echo. > "%BASE_DIR%\1. Personal Profile\Bio.md"
echo. > "%BASE_DIR%\1. Personal Profile\Timeline.md"
echo. > "%BASE_DIR%\1. Personal Profile\Life Philosophy.md"
echo. > "%BASE_DIR%\1. Personal Profile\Personal Brand.md"
mkdir "%BASE_DIR%\1. Personal Profile\Personality Assessment"
echo. > "%BASE_DIR%\1. Personal Profile\Personality Assessment\MBTI Results.md"
echo. > "%BASE_DIR%\1. Personal Profile\Personality Assessment\Strengths & Weaknesses.md"
echo. > "%BASE_DIR%\1. Personal Profile\Personality Assessment\Communication Style.md"
echo. > "%BASE_DIR%\1. Personal Profile\Cultural Background.md"
echo. > "%BASE_DIR%\1. Personal Profile\Languages.md"
:: 2. Vision & Goals
mkdir "%BASE_DIR%\2. Vision & Goals"
echo. > "%BASE_DIR%\2. Vision & Goals\Life Vision.md"
mkdir "%BASE_DIR%\2. Vision & Goals\Goals"
echo. > "%BASE_DIR%\2. Vision & Goals\Goals\Current Goals.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Goals\Completed Goals.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Goals\Future Aspirations.md"
mkdir "%BASE_DIR%\2. Vision & Goals\Action Plans"
echo. > "%BASE_DIR%\2. Vision & Goals\Action Plans\90-Day Plans.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Action Plans\Annual Goals.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Action Plans\5-Year Vision.md"
mkdir "%BASE_DIR%\2. Vision & Goals\Progress Tracking"
echo. > "%BASE_DIR%\2. Vision & Goals\Progress Tracking\Monthly Reviews.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Progress Tracking\Quarterly Assessments.md"
echo. > "%BASE_DIR%\2. Vision & Goals\Progress Tracking\Annual Reflections.md"
:: 3. Education & Learning
mkdir "%BASE_DIR%\3. Education & Learning\Formal Education"
echo. > "%BASE_DIR%\3. Education & Learning\Formal Education\Degrees.md"
echo. > "%BASE_DIR%\3. Education & Learning\Formal Education\Certifications.md"
mkdir "%BASE_DIR%\3. Education & Learning\Self-Learning"
echo. > "%BASE_DIR%\3. Education & Learning\Self-Learning\Online Courses.md"
echo. > "%BASE_DIR%\3. Education & Learning\Self-Learning\Reading List.md"
mkdir "%BASE_DIR%\3. Education & Learning\Skills Development"
echo. > "%BASE_DIR%\3. Education & Learning\Skills Development\Technical Skills.md"
echo. > "%BASE_DIR%\3. Education & Learning\Skills Development\Soft Skills.md"
:: 4. Professional Journey
mkdir "%BASE_DIR%\4. Professional Journey\Career History"
echo. > "%BASE_DIR%\4. Professional Journey\Career History\Resume.md"
echo. > "%BASE_DIR%\4. Professional Journey\Career History\Work Experience.md"
mkdir "%BASE_DIR%\4. Professional Journey\Projects Portfolio"
echo. > "%BASE_DIR%\4. Professional Journey\Projects Portfolio\Current Projects.md"
echo. > "%BASE_DIR%\4. Professional Journey\Projects Portfolio\Past Projects.md"
:: 5. Creative Expression
mkdir "%BASE_DIR%\5. Creative Expression"
mkdir "%BASE_DIR%\5. Creative Expression\Art & Design"
mkdir "%BASE_DIR%\5. Creative Expression\Writing"
mkdir "%BASE_DIR%\5. Creative Expression\Media Creation"
:: 6. Interests & Passions
mkdir "%BASE_DIR%\6. Interests & Passions\Hobbies"
mkdir "%BASE_DIR%\6. Interests & Passions\Entertainment"
echo. > "%BASE_DIR%\6. Interests & Passions\Entertainment\Books.md"
echo. > "%BASE_DIR%\6. Interests & Passions\Entertainment\Movies & Shows.md"
echo. > "%BASE_DIR%\6. Interests & Passions\Entertainment\Music.md"
mkdir "%BASE_DIR%\6. Interests & Passions\Travel"
echo. > "%BASE_DIR%\6. Interests & Passions\Travel\Places Visited.md"
echo. > "%BASE_DIR%\6. Interests & Passions\Travel\Travel Wishlist.md"
:: 7. Relationships & Network
mkdir "%BASE_DIR%\7. Relationships & Network"
mkdir "%BASE_DIR%\7. Relationships & Network\Personal Network"
mkdir "%BASE_DIR%\7. Relationships & Network\Professional Network"
mkdir "%BASE_DIR%\7. Relationships & Network\Community Involvement"
:: 8. Health & Wellness
mkdir "%BASE_DIR%\8. Health & Wellness"
mkdir "%BASE_DIR%\8. Health & Wellness\Physical Health"
mkdir "%BASE_DIR%\8. Health & Wellness\Mental Health"
mkdir "%BASE_DIR%\8. Health & Wellness\Lifestyle"
:: 9. Digital Presence
mkdir "%BASE_DIR%\9. Digital Presence"
mkdir "%BASE_DIR%\9. Digital Presence\Social Media"
mkdir "%BASE_DIR%\9. Digital Presence\Online Portfolio"
echo. > "%BASE_DIR%\9. Digital Presence\Online Portfolio\GitHub Projects.md"
echo. > "%BASE_DIR%\9. Digital Presence\Online Portfolio\Personal Website.md"
:: 10. Personal Documentation
mkdir "%BASE_DIR%\10. Personal Documentation\Journal"
echo. > "%BASE_DIR%\10. Personal Documentation\Journal\Daily Logs.md"
echo. > "%BASE_DIR%\10. Personal Documentation\Journal\Weekly Reviews.md"
echo. > "%BASE_DIR%\10. Personal Documentation\Journal\Monthly Reflections.md"
mkdir "%BASE_DIR%\10. Personal Documentation\Life Events"
mkdir "%BASE_DIR%\10. Personal Documentation\Archives"
:: 11. Ideas & Innovation
mkdir "%BASE_DIR%\11. Ideas & Innovation"
mkdir "%BASE_DIR%\11. Ideas & Innovation\Brainstorming"
mkdir "%BASE_DIR%\11. Ideas & Innovation\Research Interests"
mkdir "%BASE_DIR%\11. Ideas & Innovation\Innovation Journal"
:: 12. Future Planning
mkdir "%BASE_DIR%\12. Future Planning"
mkdir "%BASE_DIR%\12. Future Planning\Personal Development"
mkdir "%BASE_DIR%\12. Future Planning\Life Planning"
echo. > "%BASE_DIR%\12. Future Planning\Life Planning\Bucket List.md"
echo. > "%BASE_DIR%\12. Future Planning\Life Planning\Dreams & Aspirations.md"
mkdir "%BASE_DIR%\12. Future Planning\Strategic Thinking"
echo Folder structure created successfully in your Obsidian vault!
echo Location: %BASE_DIR%
pause
@steeltroops-ai
Copy link
Author

steeltroops-ai commented Oct 18, 2024

How to Create the Folder Structure Using the Gist File

Step 1: Download Obsidian

Before you begin, make sure you have Obsidian installed. It's the app we'll be using to manage your notes!

Step 2: Access the Gist

  1. Visit the Gist Link: Click on the link to this gist.
  2. Select the File: Click on the filename (e.g., create_obsidian_folder_structure.bat) to view its content.

Option 1: Copy the File

  1. View Raw Content: Click the “Raw” button to see the plain text version.
  2. Copy the Text: Select all the text (Ctrl + A) and copy it (Ctrl + C).
  3. Open a Text Editor: Open a text editor like Notepad or any code editor.
  4. Paste the Text: Paste the copied content (Ctrl + V).
  5. Save the File: Save the file as create_obsidian_folder_structure.bat. Make sure to select “All Files” in the “Save as type” dropdown to avoid saving it as a .txt file.

Option 2: Download the File

  1. Download the File: Click the “Download” button, or right-click the “Raw” button and select “Save Link As” to download it directly.
  2. Choose a Location: Select where you want to save the file and click “Save.”

Step 3: Run the File

  1. Locate the File: Find the create_obsidian_folder_structure.bat file you just saved or downloaded.
  2. Execute the File: Double-click it to run. This will automatically create the folder structure in your Obsidian vault!

Step 4: Check Obsidian

  1. Open Obsidian: Launch the Obsidian app.
  2. Check the Structure: Navigate to your vault, and you should see the newly created folder structure under "0. About Me."

That's it! You're all set to start organizing your notes in Obsidian!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment