Advertisement
grahamperrin

Untitled

Jan 15th, 2013
199
0
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement