#!/bin/bash source /etc/profile >/dev/null [ -f "$HOME/.zb-rc" ] && source "$HOME/.zb-rc" if [ -z "$1" ] ; then echo "usage: $0 " >&2 exit 1 fi exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr '+ ' 'p_'`"