From fabd07c68a40ac52993f2889f1f8f3b164563253 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 8 Apr 2014 18:42:40 +0200 Subject: [PATCH] survive strict zfs character restrictions --- zb-snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zb-snap b/zb-snap index 3b32460..f8b6fd8 100755 --- a/zb-snap +++ b/zb-snap @@ -5,4 +5,4 @@ if [ -z "$1" ] ; then exit 1 fi -exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr + p`" +echo exec zfs snapshot "${1}@zb-`date '+%F %T %z' |tr '+ ' 'p_'`"