survive strict zfs character restrictions

This commit is contained in:
Mirek Kratochvil 2014-04-08 18:42:40 +02:00
parent cccb522b1e
commit fabd07c68a

View file

@ -5,4 +5,4 @@ if [ -z "$1" ] ; then
exit 1 exit 1
fi fi
exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr + p`" echo exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr '+ ' 'p_'`"