Skip to content

Instantly share code, notes, and snippets.

@alanorth
alanorth / clean-snap-sync-external.sh
Last active January 3, 2023 14:24
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)
#