Adding Dates to Frontmatter - script 3: date-adder-now.py

Introduction This script is designed to add the current date to the frontmatter of each markdown file in the /add-dates directory and then move the processed files to the /dates-added directory. It uses the datetime and os modules to accomplish this. Key Features Adds the current date in ISO format to the frontmatter of each .md file in the /add-dates directory. Moves the processed files to the /dates-added directory. Requirements Python 3 installed on your system....

February 7, 2023 · 1 min