
Untitled
By:
grahamperrin on
Jan 15th, 2013 | syntax:
Bash | size: 0.18 KB | hits: 5 | expires: Never
#!/bin/sh
OLD_IFS=$IFS
IFS=$'\n'
for dataset in `zfs list -H | cut -f 1`
do
zfs get all $(printf '%q' $dataset) > ~/Desktop/ZFS\ file\ system\ properties.txt
done
IFS=$OLD_IFS