#!/bin/sh set -ex for i in $(aptly snapshot list | grep taler | cut -d'[' -f 2 | cut -d']' -f1) ; do aptly snapshot drop $i done