Skip to main content

All Questions

Tagged with
2 votes
1 answer
3k views

Tar failing to extract specific files

I am extracting a number of .tar.gz files using a batch script in Windows. The tar files are all different data sets and should generally have the same directory and file structure, just with ...
David K's user avatar
  • 341
0 votes
2 answers
1k views

How to extract several folders from a very large .tar.gz file on Windows 7?

I have a 150 GB tar.gz file and a Windows 7 machine. I cannot decompress the whole file because it would require a lot of space which I do not have, thus I am looking for a way to extract only several ...
Davood Zeinali's user avatar
13 votes
1 answer
23k views

How to extract all tar.gz files present in multiple folders at a time to another directory?

There are many folders in my current directory. Each folder has a tar.gz file. To extract the tar.gz file I need to be inside each folder and run the following command every time. tar xvzf tar.gz -C /...
beginner's user avatar
  • 243
4 votes
1 answer
4k views

continue extracting a tarball after job is killed

I am extracting a big tarball, but the job was killed in the midway. Is it possible to continue extraction without rolling back from the beginning? The command I was using was tar xvf foo.tar.gz
fanchyna's user avatar
  • 151
1 vote
1 answer
206 views

Extracted files not recognized

I extracted a tar.gz file with 7-Zip. It worked fine, all the files and folders are now visible and have names, different size and so on, yet I cannot open them. And the icons are all the same - a ...
user avatar
0 votes
2 answers
11k views

How to open big tar.gz file

I created a big tar.gz file, following this guide. It is a daily backup file. My computer has 3 GB of RAM and is running Windows 7. My biggest archive is 183 GB, containing pictures and documents. ...
indra dharmajaya's user avatar
4 votes
1 answer
16k views

How to extract .tar.bz2 directly? (avoiding a folder creation)

I always extract this kind of files using on the route where I want those files: # tar -xvf file.tar.bz2 But it always creates a folder called "file" (for this example) and stores all inside it. I'...
AAlvz's user avatar
  • 867
0 votes
2 answers
189 views

Extract a section of a tgz file

I have a 28.5 GB .tgz file which was created on the command line of a Linux computer, compressing one folder and all its many many subfolders. I now want to extract a single sub-sub folder from that ....
TRiG's user avatar
  • 1,340
51 votes
7 answers
225k views

Extract 7z files with standard linux tools?

I know that you can extract .7z files with 7-zip. Is there another standard linux program that can do this? Maybe one of these tar bzip2 xz gzip I will add that bsdtar can do this, but is not ...
Zombo's user avatar
  • 1
0 votes
3 answers
10k views

How to recursively extract all .tar and .tgz file zipped in a .tgz file using 7zip command line version

I'm using 7zip cmd line version in my app (written in Python on Win 7 box) to extract .tgz files. Although I'm using the -r switch, the .tar and .tgz subdirectories are not extracted. Can someone tell ...
suffa's user avatar
  • 865
0 votes
1 answer
291 views

Modifying the path inside an archive for extraction

I would like to change the path of extraction of a .tar.gz archive. The files are supposed to extract as ./1/2/3/4/files, ./1/2/3files and so on. The .1/2 part of those is common to all the files. ...
R.J.'s user avatar
  • 445
5 votes
2 answers
44k views

tar shows "is not a bzip2 file" error when uncompressing a .tar.bz file

I've a data_or.tar.bz file I tried to extract it with $ tar xjvf data_or.tar.bz Output is bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2 tar: Error is not recoverable: exiting ...
Mithun Sreedharan's user avatar
3 votes
2 answers
11k views

tar command - how to extract one file to specific directory

Is there a way to extract a single file from a tar file to a specific directory? In fact, I am dealing with a .tgz file so, I am attempting something like this : gunzip -c mytargzfile.tgz | tar xvf - ...
ring bearer's user avatar
16 votes
5 answers
12k views

In place extract tar archive

I have a little dilemma here... I needed to move about 70 GB worth of files from one of my servers to the other, so I decided that tarring them up and sending the archive would be the fastest way. ...
anonymous coward's user avatar
0 votes
2 answers
510 views

Untar with date filter

Is there any way to untar and only extract those files that are above a certain date including directory structure?? I restored a backup on a play server but it was a few days old. However I have a ...
Don's user avatar
  • 161

15 30 50 per page