From dtenenba at fhcrc.org  Fri Nov 22 20:51:49 2013
From: dtenenba at fhcrc.org (Dan Tenenbaum)
Date: Fri, 22 Nov 2013 11:51:49 -0800 (PST)
Subject: [Rd] tar binary in RTools 3.1.0.1939 has problems with tar.bz2 files
In-Reply-To: <826842250.2428541.1385149200210.JavaMail.root@fhcrc.org>
Message-ID: <1017678963.2428946.1385149909419.JavaMail.root@fhcrc.org>

Hi,

With Rtools 3.1.0.1936 I can create and extract from .tar.bz2 files:

(first directory in %PATH% is c:\rtools31.1936\bin)

E:\>tar jcvf tmp.tar.bz2 tmp
tmp/
tmp/foo.txt

E:\>tar jtvf tmp.tar.bz2
drwxr-xr-x 4294967295/4294967295 0 2013-11-22 11:35 tmp/
-rw-r--r-- 4294967295/4294967295 3 2013-11-22 11:35 tmp/foo.txt

E:\>mkdir ex

E:\>cd ex

E:\ex>tar jxvf ..\tmp.tar.bz2
tmp/
tmp/foo.txt

E:\ex>cd ..

E:\>rm -rf ex

...but this fails when using the tar binary in Rtools 3.1.0.1939. The following lines are run with c:\rtools31.1939 as the first directory in %PATH% (and there is only one Rtools installation referenced in %PATH% in both these examples):

E:\>tar jcvf tmp.tar.bz2 tmp
tmp/
tmp/foo.txt

E:\>tar jtvf tmp.tar.bz2

E:\>mkdir ex

E:\>cd ex

E:\ex>tar jxvf ..\tmp.tar.bz2

E:\ex>ls

E:\ex>

Can this be fixed?
Thanks,
Dan



[Rd] tar binary in RTools 3.1.0.1939 has problems with tar.bz2 files
Dan Tenenbaum