From a943d0bba7849b5050b91bcdda618a8d5c1a8de5 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Tue, 17 Dec 2024 11:25:33 +0000 Subject: [PATCH] update thumbs --- .../12/17/fixing-missing-subdirs-in-notesync1734434701.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/brainsteam/content/posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701.md b/brainsteam/content/posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701.md index 3d58ca2..8e918f1 100644 --- a/brainsteam/content/posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701.md +++ b/brainsteam/content/posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701.md @@ -2,6 +2,7 @@ date: '2024-12-17T11:25:01.697646' post_meta: - date +preview: /social/583393885882e8ac86fe92c2cab04ade8aa5574e958d87bf60ed34958c596898.png tags: - softeng - python @@ -11,12 +12,9 @@ tags: title: Fixing Missing Subdirs in Notesync type: posts url: /posts/2024/12/17/fixing-missing-subdirs-in-notesync1734434701 - --- - - -

Last year I wrote a small utility called notesync to assist in my digital garden publication workflow. Thes script reads the frontmatter of my notes and looks for public: true. Then it copies notes from my private obsidian vault over to a public folder ready to be processed and published by quartz.

+

Last year I wrote a small utility called notesync to assist in my digital garden publication workflow. Thes script reads the frontmatter of my notes and looks for public: true. Then it copies notes from my private obsidian vault over to a public folder ready to be processed and published by quartz.

Today I noticed that content that was in a subfolder was not being detected or synchronised properly. I worked out that the Python glob module has a recursive=true flag that I had forgotten to set. Setting this flag has resolved the problem and content in sub-sub directories is now appearing on my site.