Advertisement
grahamperrin

Untitled

Jan 15th, 2013
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  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 $dataset > ~/Desktop/ZFS\ file\ system\ properties.txt
  7. done
  8. IFS=$OLD_IFS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement