- Code: Select all
>sudo zfs list -t snapshot
tank@auto-2015-09-20-23-55-00 0 - 144K -
tank@auto-2015-09-21-00-55-00 0 - 144K -
tank@auto-2015-09-21-01-45-00 0 - 144K -
tank@auto-2015-09-21-01-50-00 0 - 144K -
tank@auto-2015-09-21-01-55-00 0 - 144K -
tank@auto-2015-09-21-02-00-00 0 - 144K -
tank@auto-2015-09-21-02-05-00 0 - 144K -
tank@auto-2015-09-21-02-10-00 0 - 144K -
tank@auto-2015-09-21-02-15-00 0 - 144K -
tank@auto-2015-09-21-02-20-00 0 - 144K -
tank@auto-2015-09-21-02-25-00 0 - 144K -
tank@auto-2015-09-21-02-30-00 0 - 144K -
tank@auto-2015-09-21-02-35-00 0 - 144K -
tank@auto-2015-09-21-02-40-00 0 - 144K -
tank@auto-2015-09-21-02-45-00 0 - 144K -
.
.
.
Is there a way to destroy more than one, but not all in single command?
I discovered zfs destroy tank@% will destroy them all but what if I just wanted to delete the ones from September?
zfs destroy tank@auto-2015-09% does not work.
I'm not worried about space here, I just don't need this many snapshots and the horkage that results every time I do zfs -list gets annoying.