To delete a range of ZFS snapshots, use the % (percent) character after the
full path to the first snapshot that should be included. For example, to
simulate deleting snapshots a through (including) d, use this command:

# zfs destroy -rvn mypool/tmp@a%d

Once you are sure that this is what you want, remove the -n option:

# zfs destroy -rv mypool/tmp@a%d

-- Benedict Reuschling <bcr@FreeBSD.org>

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/fbfortune/statuses/116013662573733518 on your instance and quote it. (Note that quoting is not supported in Mastodon.)