Manage Apple Notes from the command line using AppleScript.
| Command | Description |
|---|---|
| --------- | ------------- |
notectl folders | List all folders with note counts |
notectl list [folder] | List notes in a folder (default: Notes) |
notectl show | Show note content by title |
notectl add | Create a new note |
notectl search | Search notes by title or content |
notectl append | Append text to an existing note |
# List all folders
notectl folders
# List notes in default folder
notectl list
# List notes in specific folder
notectl list "rainbat-projects"
notectl list Papi
# Show a note
notectl show "Meeting Notes"
# Create a note
notectl add "New Idea"
notectl add "Project Plan" --folder research --body "Initial thoughts..."
# Search all notes
notectl search "clawdbot"
notectl search "API"
# Append to a note (daily log style)
notectl append "Daily Log" --text "- Completed feature X"
add| Option | Description | Default |
|---|---|---|
| -------- | ------------- | --------- |
-f, --folder | Folder to create note in | Notes |
-b, --body | Note body content | empty |
append| Option | Description |
|---|---|
| -------- | ------------- |
-t, --text | Text to append to the note |
Folders on this system:
共 1 个版本