Adding dates to markdown files with Python

A Collection of Python Scripts for Adding Dates to Markdown Files

Problem: Adding Dates to Markdown Files Keeping track of when a markdown file was created or updated can be important for various reasons such as historical reference, version control, or organizing files by date. However, adding the date manually to each file can be time-consuming and prone to errors. Solution: Automating the Process with Python We present a collection of four Python scripts that automate the process of adding dates to your markdown files....

February 7, 2023 · 2 min

Increment Date Adder - Step by Step

Introduction This Python script is designed to add incremental dates to the frontmatter of multiple markdown files. The script will iterate through the files in a specified directory, incrementing the date in the frontmatter by a specified step (in days). The script will then rename the file to indicate that the dates have been added. How to Use Copy the markdown files you want to add incremental dates to into a directory called /add-dates/....

November 7, 2022 · 2 min