search for: untar

Displaying 20 results from an estimated 725 matches for "untar".

2012 Jul 24
1
untaring files in parallel with foreach and doSNOW?
Hello, I'm running some code that requires untaring many files in the first step. This takes a lot of time and I'd like to do this in parallel, if possible. If it's the disk reading speed that is the bottleneck I guess I should not expect an improvement, but perhaps it's the processor. So I want to try this out. I'm working on wi...
2018 May 01
2
possible internal (un)tar bug
This is a not too old R-devel on Linux, it already fails in R 3.4.4, and on macOS as well. The tar file seems valid, external tar can untar it, so maybe an untar() bug. setwd(tempdir()) dir.create("pkg") cat("foobar\n", file = file.path("pkg", "NAMESPACE")) cat("this: that\n", file = file.path("pkg", "DESCRIPTION")) tar("pkg_1.0.tar.gz", "pkg",...
2013 May 03
1
untar() error
Dear List, I have a list of 600+ *.gz files that I would like to extract and read the geotiffs contained within them. I tried using the untar() function to simplify this task but I am stumped by an error. I've combed the Internet for a solution without luck. The details are below, and any help in solving this matter is appreciated. > files = list.files(path = "J:/GIMMS/NDVI", pattern = "data.tif.gz", all.files...
2010 Jan 19
3
UID GID Problems.....
Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc.... but somehow it appears to have effected the root user. When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and file...
2009 Aug 21
4
tar and gunzip help
HI All, I have a directory tree that when the user un-gzips/untars it does into /opt by default. The directory tree is like: ugui | |-- <misc files> |-- source |-----framework |------ <misc files> so when unzipped I want to end it with /opt/ugui and all the stuff below it. How do I do this? Can I also issue one command that will unzip and un...
2018 May 01
1
possible internal (un)tar bug
...i <csardi.gabor at gmail.com> >>>>> on Tue, 1 May 2018 12:05:32 +0000 writes: >> This is a not too old R-devel on Linux, it already fails >> in R 3.4.4, and on macOS as well. > and fails in considerably older R versions, too. > Basically untar() seems to fail on a connection, but works > fine on a plain file name. Well, there's an easy workaround: If you want to use a connection (instead of a simple filename) with untar() and want to use compression (as in the example), you can currently do that easily when you ensure the...
2016 Nov 04
0
[PATCH 3/5] v2v: ova: move the untar function
Move the untar function so it can be used later in the code. Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> --- v2v/input_ova.ml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index db884d9..f76fe82 100644 --- a/v2v/input_ova.ml...
2016 Dec 07
0
[PATCH v3 3/6] v2v: ova: move the untar function
Move the untar function so it can be used later in the code. Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> --- v2v/input_ova.ml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index 61930f0..85954a3 100644 --- a/v2v/input_ova.ml...
2014 Sep 30
1
R's internal tar ignores files in sub-directories
E.g. I am seeing: dir <- file.path(tempdir(), "test-tar") dir.create(dir) setwd(dir) dir.create("foo", showWarnings = FALSE) file.create("foo/bar.R") tar("test.tar", files = "foo/bar.R") dir.create("untarred") untar("test.tar", exdir = "untarred") list.files("untarred", recursive = TRUE) # character(0) As far as I can see, the documentation in `?tar` does not reflect that R's internal `tar` expects paths to directories, not files themselves. Although I...
2017 May 08
3
[PATCH 0/3] v2v: -i ova: Prefer pigz or pxz for uncompressing OVA
https://bugzilla.redhat.com/show_bug.cgi?id=1448739
2017 Mar 13
0
[PATCH 1/2] v2v: -i ova: Hoist utility functions to the top of the file.
...+++++++++---------------------------- 1 file changed, 69 insertions(+), 70 deletions(-) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index 72a63d3..9a6a615 100644 --- a/v2v/input_ova.ml +++ b/v2v/input_ova.ml @@ -40,6 +40,69 @@ let libvirt_supports_json_raw_driver () = else true +(* Untar part or all files from tar archive. If [paths] is specified it is + * a list of paths in the tar archive. + *) +let untar ?(format = "") ?paths file outdir = + let cmd = [ "tar"; sprintf "-x%sf" format; file; "-C"; outdir ] + @ match paths with No...
1998 Nov 23
1
R-0.63.0.tgz untar problem!
Hi to all R people!!! I'mtryed to untar R-0.63.0.tgz but .... C:\Archivio\R\R-0.63.0>tar -x -z -f R-0.63.0.tgz tar: R-0.63/aux: Could not create directory: No such file or directory (ENOENT) tar: R-0.63/aux/GETSYMBOLS: Could not create file: No such file or directory (EN OENT) tar: R-0.63/aux/config.sub: Could not create file: No suc...
2004 Mar 02
1
Problem untarring R-1.8.1.tgz
Hi, I have been trying to untar the source file for R and having no success. I have used decompression utilities that handle .tar and .tgz file but I keep getting an error that there is a "Header CRC Error". So, I am wondering if this is just me and I am not using the right decompression utility or whether there is...
2002 Feb 28
0
Can't untar snapshot.. scard missing from CVS?
Hello- I'm testing the current versions on UnixWare 2.x and have run into the following problems: After downloading the nightly snapshot, untar fails with "Directory Checksum error". Gunzip is successful, but the tar fails. Failing the snapshot extraction, I checked out a clean copy from the CVS. Configure fails when it hits the "/scard" directory, which is empty. I touched "/scard/Makefile.in", and configur...
2009 Jul 27
3
mtime handling seems generally buggy for directories
Hello again, as stated earlier there is a problem with mtime setting on directories during healing in replication setup. Today I tested 2.0.5 and found out that the handling is more or less generally buggy for directory mtimes. Simply try this: untar some kernel archive on your local disk and look at the mtime of the created top directory. now untar the same archive on an exported gluster fs and compare the mtimes. You will find out that mtime on gluster fs is generally not set (by tar), not only during a healing process. Obviously this is a bu...
2016 Nov 21
2
Re: [PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...---- > 1 file changed, 154 insertions(+), 23 deletions(-) > > diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml > index f76fe82..7a3e27b 100644 > --- a/v2v/input_ova.ml > +++ b/v2v/input_ova.ml > @@ -39,17 +39,23 @@ object > > method source () = > > - let untar ?(format = "") file outdir = > - let cmd = [ "tar"; sprintf "-x%sf" format; file; "-C"; outdir ] in > + (* Untar part or all files from tar archive. If [path] is specified it is > + * a path in the tar archive. > + *) > + let...
1999 Nov 22
2
R-0.90.0 untar
...ld work but anonymous ftp does not.) 2/ From Netscape (Linux) with ftp://cvs.r-project.org/pub/CRAN/src/base/R-0.90.0.tgz or http://cvs.r-project.org/pub/CRAN/src/base/R-0.90.0.tgz I get a file which gunzips ok. Also tar -xf in /tmp or when signed onto my file server works. However, if I try to untar on a workstation in a directory mounted from the file server, it fails with lots of messages about "Error while closing: Operation not permitted." I suspect this may be a peculiar combination of user/group ownerships (perhaps not all with the same ids on my workstation and server), but I...
2016 Nov 12
0
[PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...177 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 154 insertions(+), 23 deletions(-) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index f76fe82..7a3e27b 100644 --- a/v2v/input_ova.ml +++ b/v2v/input_ova.ml @@ -39,17 +39,23 @@ object method source () = - let untar ?(format = "") file outdir = - let cmd = [ "tar"; sprintf "-x%sf" format; file; "-C"; outdir ] in + (* Untar part or all files from tar archive. If [path] is specified it is + * a path in the tar archive. + *) + let untar ?(format = "&...
2006 Jun 20
3
nevada_41 and zfs disk partition
...heck out zfs since the delay of S10U2 I really could not wait any longer :) I installed it on my system and created a zpool out of an approximately 40GB disk slice. I then wanted to build a version of thunderbird that contains a local patch that we like. So I download the source tar ball. I try to untar it on the zfs filesystem and the machine comes to its knees. At times it appears that the system has hung. A Sol10 version of top shows that most of the cpu time is in the kernel (not suprising). The steps I used to create the pool/fs is basicly the following: # zpool create space /dev/dsk/c0t0d0...
2017 Dec 27
4
An rpmbuild spec question
I'm trying to build a package to create a directory and install some files. My rpmbuild keeps failing, unable to cd into the directory, "no such". Now, in the tmpfile, I *see* it cd'ing into BUILD/opt, and the source was unzipped and untared into BUILD/opt/smipmicfg-1.27.0. In the spec file, I've even added a cd $RPM_BUILD_ROOT/opt, and I see it cd to there... and then it says it fails cd'ing into the directory under it. I've been doing a lot of googling, but nothing seems to fix this. Anyone got a clue? mark