Questions tagged [extract]

Extracting is a term used in archive-management which means uncompressing the files and folders from the compressed format.

Filter by
Sorted by
Tagged with
1150 votes
8 answers
3.5m views

What command do I need to unzip/extract a .tar.gz file?

I received a huge .tar.gz file from a client that contains about 800 mb of image files (when uncompressed.) Our hosting company's ftp is seriously slow, so extracting all the files locally and sending ...
EmmyS's user avatar
  • 15.9k
135 votes
4 answers
142k views

Extract part of a video with a one-line command

If I have a video, normally avi, but could be any, and I want to create another one in the same format but just a part, the position i seconds to f seconds into the video, what is the one-line command ...
Strapakowsky's user avatar
  • 11.9k
75 votes
2 answers
172k views

How do I extract a password protected .7z file?

Can someone tell me how can I extract a password protected .7z file in Ubuntu server? (I know the password, I just need a program to do so and an example of how to use said program...)
Wolfy's user avatar
  • 7,920
43 votes
4 answers
105k views

How do I extract a RPM file?

I've RPM file of which I want to examine its file contents. For .deb packages, I can use dpkg -x file.deb to extract it. What is the equivalent command for a .rpm file? I'm looking for a command-line ...
Lekensteyn's user avatar
  • 174k
42 votes
2 answers
125k views

How do I gunzip all files recursively in a target directory?

I'd like to know what is the command to use to gunzip all files in a target directory recursively? I tried to use the unzip command but it didn't work. I tried the command from Unzip all zip files in ...
user2028856's user avatar
  • 1,191
40 votes
1 answer
67k views

Combining .rar extraction [duplicate]

I've recently downloaded 7 .rar files which needs to get extracted and to output only one file. How do I to make them extract only one output and to do not extract 7 files, please? Thanks in advance!
Amurayu Yukiko's user avatar
37 votes
8 answers
81k views

How can I extract audio track from video file and save it as MP3? [duplicate]

What is the easiest way to extract an audio track from a video file and save it as an MP3 file?
Robert Zelník's user avatar
36 votes
9 answers
185k views

How to extract and join files xxx.zip, xxx.z01 and xxx.z02

I have these three files: 1.zip, 1.z01 and 1.z02. I would like to extract and join them into a single file, by right clicking 1.zip and selecting Extract Here. But then there comes an error: 7-Zip 9....
Tim's user avatar
  • 25.2k
26 votes
1 answer
120k views

Compressing a folder (tar) without its containing directory in the folder name

I am trying to compress a folder with the tar command. When I am trying to compress it, it works fine. The problem is with the file name. Source path: /data/file/ Destination path: /data/repo/...
Seetha Raman's user avatar
20 votes
1 answer
48k views

how to extract a rar file with multiple parts? [duplicate]

How should I extract a file which has more than one rar file that should be extracted with each other?
Parsa's user avatar
  • 512
17 votes
5 answers
133k views

How would I extract a .img file

I am trying to extract a .img file (hard disk image with with Chromium OS on it). I have not been able to find any way to do this other than mounting it but that is not usable because it shows up as ...
TurboWafflz's user avatar
11 votes
3 answers
22k views

tar: A lone zero block at 343398

while trying to extract a tar.gz file in ubuntu terminal an error happened int he last sentence here it is : tar: A lone zero block at 343398 what is the solution for this problem???
wael's user avatar
  • 111
11 votes
2 answers
17k views

Extracting zip file fails giving error need PK compat. v5.1

I have a password protected zip file which was created in Windows. When I am trying to extract the same file under Ubuntu I get the error need PK compat. v5.1 (can do v4.6). Any idea how to proceed?
topless's user avatar
  • 7,365
11 votes
1 answer
1k views

Restoring a Unix Tar File with Ubuntu

I have all of these old DDS3 and DDS4 tapes that I need to restore the files off of. The only information that I really know is that they were put on the tapes about 10 to 20 years ago using Digital ...
tofer41's user avatar
  • 111
10 votes
2 answers
53k views

How to extract files from a split 7zip archive ended by .001 and .002?

I have two files data.7z.001 and data.7z.002. l tried to extract them using : 7z e asdf data.7z.001 l got this error 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip ...
heisen's user avatar
  • 101
9 votes
1 answer
2k views

initrd.lz lzma extract error

i am trying to extract the initrd.lz from the casper folder lzma -dc -S .lz initrd.lz | cpio -imvd --no-absolute-filenames and i get this message: lzma: Decoder error cpio: premature end of archive ...
aki's user avatar
  • 2,114
9 votes
2 answers
4k views

Extract only the contents of an archived directory from within an archive

The Situation I am extracting a CMS from drupal-7.15.tar.gz to /var/www. When extracted normally (with tar -xvzf filename.tar.gz) the files end up in /var/www/drupal-7.15/ The Goal I want the ...
bitfed's user avatar
  • 213
8 votes
4 answers
541 views

How to extract multiple bits of information that appear on different lines within the same text file

I am trying to extract the sequence ID and cluster number that occur on different lines within the same text file. The input looks like >Cluster 72 0 319aa, >O311_01007... * >Cluster 73 0 ...
Tim's user avatar
  • 81
8 votes
2 answers
8k views

Is there an 'Extract to...' context menu option for the Archive Manager application in Nautilus?

I was wondering if there was an easy way to add an 'Extract to...' option in the context menu for the Archive Manager in Nautilus? 'Extract here' is fine a lot of the time but I'm often working with ...
Bucky's user avatar
  • 183
7 votes
6 answers
15k views

Getting rid of the p7m file extension

The internet has not been helpful this time. I have a zip archive that also has a p7m extension. How can I lose that extension so that I can view the files? Any help is appreciated. Than you!
JaUnCpp's user avatar
  • 73
7 votes
1 answer
10k views

Extracting a password protected .7z file with 'p7zip' returns an error

I am trying to extract a password protected .7z file with p7zip -d filename.7z command. Unlike on Windows, on Ubuntu I do not get a prompt to enter password. Instead the terminal throws an E_NOTIMPL ...
rsl's user avatar
  • 403
6 votes
1 answer
9k views

How to unzip only the first few lines of a zip archive?

I have a zipped text file a.zip I want to read the first 10 lines of it. Is it possible to do that without unzipping the whole file?
yukashima huksay's user avatar
6 votes
2 answers
4k views

How I can extract files, name.iso.001 name.iso.002 and so on

I just downloaded some materials, but the extensions are not recognized by Ubuntu. I have a bunch of files names name.iso.001, name.iso.002 and so on. How I can extract or mount it?
Smile.Hunter's user avatar
  • 8,355
6 votes
1 answer
13k views

Problem extracting tar.gz files: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options

Recently I encountered a problem while trying to install Quantum Espresso 5.2.0, a Linux-based software, in Ubuntu 14.04. The source was a compressed tar.gz file. I typed the following command to ...
Binod's user avatar
  • 61
6 votes
0 answers
2k views

"Extract here" option doesn't work in Ubuntu 22.04 LTS

Extraction for rar/tar/gz files is working fine from CLI. In GUI, when right-clicking a file in Files app (both single and multiple parts archives) and choosing extract here in drop-down menu presents ...
d4yn1sh's user avatar
  • 61
5 votes
1 answer
3k views

How to extract a Inno Setup Installer

How to extract a Inno Setup Installer. This is not a .7z, or any other file that 7z can extract. according to the file command this is a file of the type: PE32 executable (GUI) Intel 80386, for MS ...
blade19899's user avatar
  • 26.7k
5 votes
2 answers
2k views

Where is the difference between using `pdfimages` from poppler-utils and using the one provided by xpdf-utils for image extraction?

I need to extract a bunch of images from a PDF file. pdfimages should do the job. When trying to install, I got two alternatives poppler-utils and xpdf-utils so i wonder, whicht to choose. Where are ...
mbx's user avatar
  • 184
4 votes
3 answers
13k views

How to extract xyz.arc file in ubuntu? [duplicate]

How do I extract a .ARC file in Ubuntu?
Dixit Singla's user avatar
4 votes
1 answer
33k views

Extract a .zip.part file

I downloaded a Canon MF4410 Driver for Linux. I got a .zip.part file, and the unzip command in the terminal doesn't work with it. Is it possible to extract such a file?
romani's user avatar
  • 41
4 votes
1 answer
17k views

How to solve simg2img error "Invalid sparse file format at header magi"?

I installed android-tools-fsutils using the terminal on Ubuntu 16.04 LTS and ran simg2img to extract RemixOS's system.img file but each time I get the same error - "Invalid sparse file format at ...
user1928108's user avatar
4 votes
1 answer
5k views

How to extract audio from Webm without transcoding?

Audio within mp4 and flv files is AAC, and a proper container for that is m4a. So, in order to extract sound from mp4 and flv I use a command like gnome-terminal -e "parallel avconv -i '{}' -map 0:1 ...
user avatar
4 votes
2 answers
23k views

CRC error during extraction of downloaded compressed tar. Tar file is intact

I have downloaded a compressed file from http://ds.arm.com/downloads/. File details are DS500-BN-00019-r5p0-21rel1.tgz(64 bit) When I try to extract this file using the following command tar -zxvf ...
Ven's user avatar
  • 41
4 votes
0 answers
2k views

Can't extract anything in 7z - Unknown error -2147024872 - Ubuntu 20.04.1 LTS

I just can't extract any .rar or .zip or .7z file with 7z. The program reads: Scanning the drive for archives: ERROR: No more files Then the file's name. And then: System ERROR: Error desconocido -...
Picchu Lazo N'elojo's user avatar
3 votes
2 answers
2k views

How do I extraxt audio files from mkv files? TO DELET THE MUSIC IN THE BACKGROUND

I want to know how to get all the audio files from the mkv file. it has to be more than one file. SO I CAN DELETE THE MUSIC IN THE BACKGROUND of THE VIDEO. What software I can use? And how to use it? ...
user9344882's user avatar
3 votes
1 answer
2k views

Show content of huge txt/json file without extracting huge zip file

I got a zip file of ~400MB and within it there are certain txt/json files roughly in the range of 400MB - 1GB size. I simply want to view first 100 lines of a target file without extracting it from ...
arjun's user avatar
  • 367
3 votes
3 answers
2k views

simple tar and extract command

I am new to Ubuntu (terminal especially) and I am experimenting with the tar command. I have created a /test folder containing one single /test.txt file at /var/www/html/test/test.txt. I would like ...
jonboy's user avatar
  • 143
3 votes
1 answer
6k views

Ubuntu 18.04 Extracting files "parsing filters is unsupported" [duplicate]

Running Ubuntu 18.04 on a laptop. I tried extracting a file(~700MB) using right click+extract here but got the following error message: The file contains mainly pdfs, but also text files, some ...
Joao Oliveira's user avatar
3 votes
1 answer
4k views

Error While Extracting files - "Error setting owner"

I'm using Xubuntu 13.10. Downloaded Eclipse. Tried to extract the tar file and I got the error as seen in the image. I have tried the following: Opened it up in the archive manager. It opens up ...
Akshar Patel's user avatar
3 votes
2 answers
5k views

How to bulk-extract objects from swf (Adobe Flash) files with swfextract?

swftools are a unique set of tools but lack some user friendliness. They can't even iterate over provided objects: Only one file allowed. You supplied at least two. $ swfextract file.swf -i 1,2 ...
int_ua's user avatar
  • 8,584
3 votes
1 answer
2k views

Extract a specific pdf from a zip file with lots of pdfs

Given: Name and Location of Zip-File. Example: collectionOfPdfFiles2017.zip Zip File is a collection of PDFs without folder structure Name of PDF File in Zip-File. Example: someFileFrom2017.pdf ...
KFleischer's user avatar
3 votes
3 answers
4k views

How to extract Synopsys .tz files on ubuntu

I have downloaded some tar fies for my CAD tools( from their site ). When I extracted my tar, it gave out .tz files. How can I extract files from them or isn't it a tar archive ? Please help me.
chandudon's user avatar
3 votes
1 answer
427 views

Gimp (GAP) on Ubuntu 10.04 [closed]

There's a picture of what comes up. This comes up every time I try to extract videorange. I've tried .mp4, .MPG, and .flv files and it says the same thing each time. I looked it up on youtube, and ....
Brooke's user avatar
  • 33
3 votes
1 answer
402 views

How can I open a .gz.td file?

I have a file named IBM Quickstart Linux.gz.td, which I am having trouble extracting. Archive Manager says that it is not supported. How do I extract .gz.td files in Ubuntu 15.04?
Aevi's user avatar
  • 105
3 votes
2 answers
1k views

Add password option to default compress menu - 20.04

when I click the compress option on a file or folder, by right clicking on that file and choosing compress, I am presented with a simple menu form that only lets me choose the type of file to convert ...
Hugo Carvalho's user avatar
3 votes
0 answers
2k views

How to fix "Extract here" in context menu of Nautilus in Ubuntu 18.04 LTS

I have very strange problem with Nautilus on my fresh Ubuntu 18.04 LTS with Gnome. When I try to use "Extract here" context menu of Nautilus on some zip archive (700 Mb+ size), it creates folder ...
Nokse's user avatar
  • 31
3 votes
0 answers
269 views

What does Ununtu 17.10 invoke when I use "Extract here"?

I am using Ubuntu 17.10, with Unity. I have a zip file, which, when unzipped with "Extract here", produces error There was an error while extracting "file.zip". Error opening file "/path/to/file/...
Mateva's user avatar
  • 171
2 votes
3 answers
797 views

Script to combine movie audio tracks in order to learn a language

I would like to build a special script to learn English from a movie (dvd, mkv ...). I would like to extract the audio part in my native language then in English and the subtitles with the timeline. ...
Johann Luyat's user avatar
2 votes
1 answer
2k views

How can I extract data from UNIX file?

I am beginner I would like to extract data ,which the file begins with "START OF TEC MAP" and ends with "END OF TEC MAP", from file. How can I get this specific interval? Which commands should I use? ...
S.YAZICI's user avatar
2 votes
1 answer
391 views

How to extract a backup from old 1993 files from an IBM PS2?

Recently, I stumbled on some boxes of 3.5" diskettes from my Father's early 1990's PS2 with a postit note on saying "IBM PS2 Backup C:\ - 10/28/93" There were 25 discs in all and incredibly, using ...
DigitalMan's user avatar
2 votes
2 answers
4k views

Is extracting a ISO file to USB the same method as creating a bootable USB? [closed]

I'm trying to create a bootable Ubuntu USB, so that I can boot Ubuntu on my PC. But since I have no other PC left, I'm stuck with just one option. To extract the ISO file directly to the USB using my ...
Ashe Danni's user avatar