Skip to content

Instantly share code, notes, and snippets.

@lilydjwg
lilydjwg / btrfs-autosnapshot
Last active December 5, 2024 16:29
btrfs-autosnapshot
#!/usr/bin/python3
import os
import datetime
import subprocess
import logging
import tempfile
import contextlib
from pathlib import Path