----- Mensagem encaminhada ----
De: Rodrigo Nery <address@hidden>
Para: address@hidden
Enviadas: Quarta-feira, 23 de Janeiro de 2008 10:48:45
Assunto: Problema with
multiple --transform options
Hello to all,
I have a tar file with the following contents:
-rwxrwxr-- corana/gcorana 3064 2007-12-04 11:21 producao/util/setvar.sh
-rw-rw-r-- corana/gcorana 574516 2008-01-23 11:00 sybase/ASE-12_5/install/L002.log
-rwxr-xr-x admloja/gloja 847 2004-06-24 11:51 loja/eacdaemon/run
Given the following tar command, with multiple --transform options, the expected result not occurs.
tar ztvf teste.tgz --transform="s,^producao/,producao2/,g" --transform="s,^loja/,loja2/,g" --transform="s,^sybase/,sybase2/,g" --show-transformed-names
-rwxrwxr-- corana/gcorana 3064 2007-12-04 11:21
producao/util/setvar.sh
-rw-rw-r-- corana/gcorana 574516 2008-01-23 11:00 producao2/loja2/sybase2/ASE-12_5/install/L002.log
-rwxr-xr-x admloja/gloja 847 2004-06-24 11:51 loja/eacdaemon/run
The expected result is the following:
-rwxrwxr-- corana/gcorana 3064 2007-12-04 11:21 producao2/util/setvar.sh
-rw-rw-r-- corana/gcorana 574516 2008-01-23 11:00 sybase2/ASE-12_5/install/L002.log
-rwxr-xr-x admloja/gloja 847 2004-06-24 11:51 loja2/eacdaemon/run
Any sugestion to fix this problem?
Thank you,
Rodrigo
Abra sua conta no
Yahoo! Mail, o único sem limite de espaço para armazenamento!