bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Problema with multiple --transform options


From: Rodrigo Nery
Subject: [Bug-tar] Problema with multiple --transform options
Date: Wed, 23 Jan 2008 05:48:45 -0800 (PST)

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!
reply via email to

[Prev in Thread] Current Thread [Next in Thread]