Files
dotfiles/restic/.bin/restic_prune

8 lines
168 B
Bash
Executable File

#!/bin/bash
. $HOME/.bin/restic_common
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
info "Pruning snapshots"
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune