SHARE
TWEET

Untitled

grahamperrin Jan 15th, 2013 10 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. OLD_IFS=$IFS
  3. IFS=$'\n'
  4. for dataset in `zfs list -H | cut -f 1`
  5. do
  6.     zfs get all $(printf '%q' $dataset) > ~/Desktop/ZFS\ file\ system\ properties.txt
  7. done
  8. IFS=$OLD_IFS
RAW Paste Data
Top