Hi. Thanks to everyone who helped me on this (-: That was a really good experience. Great list.
I ended up using the script below (thanks David (-:). Kind regards. Luke. David Smith wrote: > To list your snapshots: > > /usr/sbin/zfs list -H -t snapshot -o name > > Then you could use that in a for loop: > > for i in `/usr/sbin/zfs list -H -t snapshot -o name` ; > do > echo "Destroying snapshot: $i" > /usr/sbin/zfs destroy $i > done > > The above would destroy all your snapshots. You could put a grep on the end > to select > certain ones by a specific string... > > For example: > > /usr/sbin/zfs list -H -t snapshot -o name | grep "aug-16" > > David > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss