Skip to content

Instantly share code, notes, and snippets.

View JoeBlakeB's full-sized avatar

Joe Baker JoeBlakeB

View GitHub Profile
@JoeBlakeB
JoeBlakeB / screenshotArchiver.py
Created July 9, 2026 15:50
A simple python script to move screenshots into a subfolder as I take screenshots so often that it gets really cluttered without subfolders, this puts them into a new subfolder each month.
#!/usr/bin/env python3
# A simple python script to move screenshots in the screenshots folder into subfolders based on their datetime.
# Usage:
# - Edit the SCREENSHOTS_DIR to be wherever your screenshots folder is
# - Schedule this script to run at a regular interval, for example on windows using Task Scheduler
# (ideally immediately after a login so that the root folder never updates while you're looking at it)
import datetime
import os
import re