storizzi / notes-exporter

Export Apple Notes to html, plain text, Markdown (eg for Obsidian), PDF, and DOCX (word) including images / attachments
MIT License
36 stars 3 forks source link

Adding optional note id to filename #4

Closed cromulus closed 2 months ago

cromulus commented 2 months ago

Adding a new flag to exportnotes.zsh that is default off, but enables folks to export notes with the note ID prepended to the filename.

Right now, I think it's {{account-uuid}}-p{{numeric note ID}}. But unclear.

Seems to work reasonably well.

My attempt at #3, would love to hear your thoughts @storizzi!

storizzi commented 2 months ago

Great - thanks for this. I'll take a look into it - I think I'll create an environment variable that allows for different filename formats in case other requests come in later but including &id and &title as substitution variables

storizzi commented 2 months ago

I've created a new release with some changes that includes this suggestion but giving a bit more flexibly in file and directory naming - thanks for the suggestion!