use tar --transform instead of tempoary copy