if ! tar --transform="s,$_frompath,$_toname," -cz "$_from" 2>/dev/null | _curl_unix_sock "$_DOCKER_SOCK" PUT "/containers/$_dcid/archive?noOverwriteDirNonDir=1&path=$(printf"%s""$_dir"| _url_encode)"'@-'"Content-Type: application/octet-stream";then
_debug2 "_from""$_from"
if ! tar --transform="s,$(printf"%s""$_frompath"| tr '*' .),$_toname," -cz "$_from" 2>/dev/null | _curl_unix_sock "$_DOCKER_SOCK" PUT "/containers/$_dcid/archive?noOverwriteDirNonDir=1&path=$(printf"%s""$_dir"| _url_encode)"'@-'"Content-Type: application/octet-stream";then