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