Skip to content

Instantly share code, notes, and snippets.

@ThomasLeister
Created April 14, 2019 17:55
Show Gist options
  • Save ThomasLeister/cf17bfc1a03fee868337d4de685e9dd7 to your computer and use it in GitHub Desktop.
Save ThomasLeister/cf17bfc1a03fee868337d4de685e9dd7 to your computer and use it in GitHub Desktop.
### Remove all snapshots crteated by the zfs-auto-snapshot tool
zfs list -t snapshot -o name | grep zfs-auto-snap | tac | xargs -n 1 zfs destroy -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment