Zum Inhalt springen

Delete multiple ZFS Snapshots

List snapshots:

# zfs list -t snapshot -H -o name | grep "@<whatever_you_want>*" | xargs -n1 echo

Delete it:

# zfs list -t snapshot -H -o name | grep "@<whatever_you_want>*" | xargs -n1 zfs destroy