Files
dotfiles/restic/.bin/restic_prune

6 lines
128 B
Bash
Executable File

#!/bin/bash
source $HOME/.bin/restic_common
info "Pruning snapshots"
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune