Skip to content

Instantly share code, notes, and snippets.

@alanorth
alanorth / clean-snap-sync-external.sh
Last active May 9, 2025 17:47
Clean snapshots created by snap-sync
#!/usr/bin/env bash
#
# clean-snap-sync-external.sh v1.0.1 (2021-07-09)
#
# Changes
# -------
# 2021-07-09:
# - adjust logic to keep latest x, instead of delete oldest x
# - make output cleaner (hide btrfs subvolume delete output)
#