What is Nostr?
FreeBSD Fortune /
npub1f9u…4yrh
2024-05-14 17:00:18

FreeBSD Fortune on Nostr: To delete a range of ZFS snapshots, use the % (percent) character after the full path ...

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>
Author Public Key
npub1f9ujkrp7sqamjl6qqhur4rtvpxjccm487p8p4vvazj0el2amem3shm4yrh