bug-tar
[Top][All Lists]
Advanced

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

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


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

Tar version used:

tar (GNU tar) 1.19
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.



----- 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!



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]