1 2 3 4 5 6 7
#!/usr/bin/env perl while (<>) { my ($fs) = split /\s+/; print "Destroying $fs\n"; system "zfs destroy $fs"; }