Solved ZFS - Deleting bookmarks like snapshots with @%

Is there a special charater to select all bookmarks of a dataset ? e.g. I could delete all snapshots with
zfs destroy pool/dataset@% but I have not found a "similar" % sign for bookmarks.
Any suggestions ?
 
No wildcards as far as I know. I usually use some clever variation of zfs list -r snapshot -H -o name zroot/somefs | grep 2019 | xargs -n 1 zfs destroy
 
OK, then I have not overlooked it. I do have weekdays as names for the bookmarks and my backup script is cleaning these in a for-do-done loop. Just wonder why a wildcard exists for snapshots and not for bookmarks. Maybe a future opportunity ?
 
Back
Top