Automating NotePlan Links to Folders and Files

Updated 3/4/2025

File Links to NotePlan

Connect your NotePlan notes to your file system with just a few clicks!

What it does

This handy script creates a _Folder_Link.md (or .txt) note in each of your NotePlan folders, connecting them to matching folders in your reference files. Each note includes a clickable link to the folder and a neat list of everything inside.

Cool features

  • Creates folder links in NotePlan
  • Connects to your actual file system where all your documents live
  • Shows what's inside each linked folder
  • NEW: Can create missing folders for you if they don't exist yet!
  • Gives you a report so you know exactly what happened

How to use it

  1. Grab the Download Files_to_NP.py script
  2. Run it in Terminal with python3 Files_to_NP.py
  3. Answer a few simple questions:
    • Where's your NotePlan Notes folder?
    • Where are your reference files?
    • Want .md or .txt notes? (.md is usually better)
    • NEW: Should we create folders that don't exist yet?
  4. Check your Desktop for a handy report when it's done

Behind the scenes

The script explores your NotePlan folders, finds (or creates!) matching folders in your reference files, and makes notes that connect them together. Think of it as building bridges between your notes and your files.

What you'll get

Here's what one of those link notes looks like:

# 💾 Link to Files: 

### 👉 [Work](file:///Users/username/Documents/Reference/Work)

## Contents:

- 📁 Project A
- 📁 Project B
- 📄 Meeting Notes.docx
- 📄 Contact List.xlsx

What you'll need

  • A Mac (the script uses some Mac-specific magic for dialogs)
  • Python 3 (no extra libraries needed!)

Get it now

Download Files_to_NP.py

By implementing this script, you can seamlessly integrate your notes and files, enhancing your productivity and keeping everything organized.

Happy organizing!