Questions tagged [compression]

Compression is the process in which a file or folder's size is reduced by using an algorithm to encode the same information using fewer bits.

Filter by
Sorted by
Tagged with
3 votes
0 answers
3k views

Not enough space in Ubuntu for extraction

I am using Ubuntu 16.04 I have to extract a 15 GB file which will decompress to around 62 GB. I have this file on NTFS partition with 134 GB free. But still, I am getting the error message " Not ...
umair khan's user avatar
2 votes
3 answers
1k views

Crop a specific region from a series of images

I have a series of png-images (actually they are taken from an mp4-file). I want to crop the same region from all the images I have taken. What tool is best for that, such that I can define the region ...
Adalbert Hanßen's user avatar
2 votes
1 answer
4k views

Difference between tar -tf vs tar -tzf

I am trying to list the contents of a tar file. I see that by combining -t and -f I can do so. It seems to work even for compressed archives. The combination of -z in addition with -tf also seems to ...
Arun's user avatar
  • 123
2 votes
1 answer
3k views

Extract an .mzp on Ubuntu

As above, is there any way to perform an extraction of a .mzp file on Ubuntu? The interwebs have nothing for me :p.
Radagasp's user avatar
  • 265
2 votes
3 answers
1k views

How to compress images without losing quality

I'm looking for a way to compress images in bulk without losing quality to improve the website loading speed. I'm working with surprisegenie.com and as it's a unique gifting platform so have so many ...
abhimanyu rathore's user avatar
2 votes
1 answer
6k views

backing up and compressing /home directory using lzma

Will this work? sudo tar -cvpf backboxhome.tar.gz/home/user --lzma I am mainly confused on where to place the --lzma argument.
TOC's user avatar
  • 49
2 votes
2 answers
1k views

File Compression with 7zip

Ubuntu 14.04 has 7zip installed but does not compress anything no change in file compression 4.2 mb still comes out 4.2mb?
Ray's user avatar
  • 81
2 votes
1 answer
9k views

Open par2 file?

On Ubuntu 16.04 and a program I'm trying to install downloaded a bunch of 'par2' files. Archive manager doesn't seem to recognize them. What application should I use to open these?
Philip Kirkbride's user avatar
2 votes
1 answer
345 views

Pipe to compressed file but also print content to terminal

How do I maintain a readable output from my program while also putting that same output into a compressed file, gzip or otherwise, so I can parse it later? I run a command that generates a lot of ...
FalcoGer's user avatar
  • 865
2 votes
1 answer
2k views

zram zstd support in 18.04

On ubuntu 18.04 I would like to use zram zstd compression but it is not available as it should be available in kernel 4.15.0-36-generic? As I understand it is a kernel compilation bug as described ...
Modestas's user avatar
  • 108
2 votes
1 answer
734 views

How to know actual size of a compressed file in ubuntu using command?

I have a wikipedia dump file of around 15GB which extension is .tar.7z. In it has another .tar file. The main content has in .tar file. How to get the original size of all files those have in the tar ...
Sudip Das's user avatar
  • 300
2 votes
1 answer
1k views

bzip2 error ubuntu 16.04 (xenial)

I downloaded a file from lynx sources site: http://invisible-mirror.net/archives/lynx/tarballs/?C=M;O=D Specifically this file: lynx2.8.8rel.2.tar.bz2 (tried several from the site). When I apply ...
amalafrida's user avatar
2 votes
1 answer
5k views

Batch Compress Videos with ffmpeg

I have many videos in a folder, and I want to compress them all with one command. To compress one video I use: sudo apt-get install ffmpeg ffmpeg -i input.mp4 output.mp4 But what if I have many ...
Florian Ludewig's user avatar
2 votes
1 answer
2k views

Pstore decompression failed

I don’t understand what this error means. Can anyone help? I’ve seen a couple of forums with the same error, but none helped me resolve it. Pstore: decompression failed, ret = -22 ! Pstore: ...
Amoxletne's user avatar
2 votes
1 answer
3k views

"Compress" option disappears from right click menu when I search for a file on Ubuntu 18.10

I'm searching through a folder to compress a file for sending, and I've noticed that if I Ctrl+F and type the file name, or just begin typing the file name, then the option to 'Compress...' the file ...
user921140's user avatar
2 votes
1 answer
760 views

How to decompress encrypted .enz files

Until a recent reinstall of 16.04 I was able to extract encrypted .enz files (made with Cobian in Windows) with the Ubuntu archive manager. Now, following the reinstall, archive manager chokes on the ...
cedwin's user avatar
  • 161
2 votes
1 answer
3k views

Compress all folders in a directory into their own .rar files

I have a directory with lots of sub directories inside of it and I want to find a way to turn all of those sub directories into their own .rar files using the terminal, since there are too many to do ...
LionParty's user avatar
2 votes
2 answers
2k views

Extract files to new folder in PCManFM

When I use the context menu to extract compressed files on PCManFM, I would like it to automatically create a folder and put the extracted files in it, like it used to happen in Nautilus back when I ...
Raphael's user avatar
  • 169
2 votes
2 answers
1k views

Gzip compressed each files with .gz Extension how to revert back

I am trying to do a zip project folder and by mistake used gzip -r /project1. gz /project1 and it has been zipped each files with.gz extension how I can revert it back. Please advise. /app# ls ...
Ramesh Chand's user avatar
  • 7,264
2 votes
2 answers
1k views

How can I compress multiple pairs of files into separate archives by name?

I've got a couple dozen sets of Audacity project folders and .aup project files whose names are very close, i.e. 10-13-14-data and 10-13-14.aup. I'd like to compress all of these files automatically ...
Noah Bertilson's user avatar
2 votes
1 answer
254 views

Rsync-ing highly compressible files - am I missing something here?

Today I was using rsync over a slow internet connection to transfer a video file - uncompressed avi, 60 seconds duration, 360MB in size. Basically it contained 1500 frames of the same image, hence it ...
Brane's user avatar
  • 416
2 votes
1 answer
2k views

How do I open/extract .xdi file on (x)ubuntu?

Downloaded a bunch of books which were compressed in a .xdi file. How do I open/extract the internal data/files? I go to open, and Ubuntu does not recognize/nor is there a seemingly effective ...
SirOgm's user avatar
  • 161
2 votes
2 answers
2k views

Thunderbird compact is taking forever

The other day I came in to work and found that our development server - a Ubuntu box - had a full hard disk. I did a bit of investigation and it seems like mozilla thunderbird is the major culprit. ...
mulllhausen's user avatar
2 votes
1 answer
170 views

Files missing from lbzip2 amd64 package for Ubuntu 21.10

Installing the lbzip (2.5-2.1build1) package on AMD64 for Ubuntu 21.10 (impish) appears to be missing the actual binaries. See the file list here: https://packages.ubuntu.com/impish/amd64/lbzip2/...
BITbyBIT's user avatar
2 votes
2 answers
336 views

How to compress 3000 images in batches of 50

I have a folder with over 3000 images, I want to compress 50 of them individually and store them in tar files. The images are not serially named. How to use write a bash script which does this job?
Pradeep BV's user avatar
2 votes
1 answer
2k views

How compress rar with context menu nautilus

In Ubuntu 16.04 i right click folder and select compress type and split size but in 18.04 compress menu not like before and choose type menu in gone i install unrar zip unzip p7zip-full p7zip-rar rar ...
Fakhamatia's user avatar
2 votes
1 answer
2k views

Creating an archive fast

I have a big folder with hundreds of thousands of files. Total size is 10GB The idea is that I want to archive this folder so I can transfer it to another server faster than file by file. I tried ...
Adrian George's user avatar
2 votes
1 answer
972 views

How to compress syslog-ng's network link, now that zlib is disabled in openssl?

In our servers infrastructure, for logging, we use a client/server setup, using syslog-ng, and stunnel as a mean of compression at the network level, through zlib at the SSL layer (syslog-ng doesn't ...
Marcus's user avatar
  • 2,475
2 votes
1 answer
210 views

Compressing many folders

I have a directory containing plenty of folders as well as compressed files. I need to compress the folders that are not already so (tar -cvzf ...) but have no experience in sh scripts. Can anyone ...
bigTree's user avatar
  • 457
2 votes
2 answers
3k views

How do I add archive folder to dolphin in Xubuntu?

When I right-click on a folder in dolphin there is no option to compress that folder. How can I add this to the context-menu of a folder like: create archive from folder --> zip,rar,7z,...
rubo77's user avatar
  • 32.4k
2 votes
0 answers
534 views

Ubuntu 18.04, compress and split large file with 7z, not working

I need to compress and split a large (64 GB) file in 4 parts on Ubuntu 18.04. It needs to be extracted on Windows later and I thought I would try using 7zip. I tried from the GUI in Nautilus but there'...
Carlo's user avatar
  • 203
2 votes
0 answers
436 views

How do I restore `tar.gz` among the archive creation list? [duplicate]

Prior to Ubuntu 18.04, the compress dialog window listed a dozen file formats to choose from: In the new version, the dialog window offers only 3 options: This is somewhat limited in my opinion. I ...
Patrick Trentin's user avatar
2 votes
0 answers
152 views

zip created by archive manager is smaller than one created by zip on command line

I am creating a zip archive of one file, in 3 different ways: zip -1 (least compression) --> 33.8kB zip -9 (most compression) --> 32.3kB archive manager (zip option) --> 26.1kB Why is there such a ...
PDiracDelta's user avatar
2 votes
0 answers
108 views

What archive and compression tool can handle parts most comfortably without using cat?

I have a folder with lots of files of different formats and sizes. The whole folder contains other folders and everything sums up in size to 16G. I'm looking for a Linux tool to achieve the following ...
User1232187's user avatar
2 votes
0 answers
327 views

QuickTime and a decompressor are needed to see this picture

I have a LibreOffice Impress file, which I downloaded from the internet. Most probably it was made with something equivalent on a Mac, since all the pictures are replaced with this message: "...
user4050567's user avatar
2 votes
0 answers
2k views

Unrar works really slow compared to Winrar?

Is there a particular reason why Unrar operations are so slow comparing to Winrar on Windows. I managed to extract a file faster in Virtualbox (Windows 7 guest with Winrar).
Mellowcandle's user avatar
2 votes
1 answer
1k views

How do I archive/compress files using the right click menu in Nautilus-elementary?

In Lucid, after selecting a bunch of files, when you right-clicked on the selection in the file manager, you could select compress and a nice simple window came up for doing just that. In Oneiric, I ...
gontadu's user avatar
  • 822
1 vote
3 answers
8k views

thunar-archive-plugin not working

After I experienced serious not yet resolved performance issues with Nautilus I decided to move to XUbuntu so I installed its metapackage from Ubuntu and started using it. It turns out that the ...
Sergio's user avatar
  • 241
1 vote
2 answers
958 views

No "other options" menu in Archive Manager [duplicate]

I'm on 20.04 and I'm trying to password protect a compressed file with Archive Manager and was told that there should be an "Other Options" menu at the bottom to set a password. But when I ...
snapcrack's user avatar
  • 297
1 vote
2 answers
7k views

How to Open .001 .002 .003 and .r01 .r02 .r03 RAR Files

Is WinRAR the same as Linux rar? Additional features? Missing features? Special way of handling files? Software is available for Microsoft Windows (named WinRAR), Linux... -wikipedia The ...
Thufir's user avatar
  • 4,551
1 vote
2 answers
20k views

Reducing a scanned pdf file size [duplicate]

I need to compress a scanned PDF file from 1.5 MB to under 600 KB. I've tried a number of Ghostscript solutions given on other threads but they seem to compress it all the way down to just 2.2 KB and ...
Rkarnik's user avatar
  • 11
1 vote
1 answer
10k views

How to decompress .img.gz a compressed disk image to .img?

Probably this is duplicate, i can't find out related from search engine. How i can extract .img.gz file into .img file? i have files archived as .img.xz and .img.gz. i can extract .img.xz using xz-...
abu-ahmed al-khatiri's user avatar
1 vote
2 answers
8k views

Error when extracting lzma tar ball in terminal tar : "Unexpected EOF in archive"

xz: (stdin): Unexpected end of input tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now What does this mean? What I entered: sudo tar --lzma -...
TOC's user avatar
  • 49
1 vote
1 answer
2k views

How to batch compress folders?

I want to batch compress folders, I want the format to be 7zip and of course I want to preserve the name and get the .7z extension at the end.
Levan's user avatar
  • 10.9k
1 vote
1 answer
2k views

Using tar, the entire folder structure is including, I don't want that

I am taring a folder and for some reason the entire directory structure that preceds the folder I am tarring is included. I am doing this in a script like: 'tar czf ' + dir + '/asdf.tgz ' + dir + '...
Blankman's user avatar
  • 8,275
1 vote
1 answer
2k views

Estimating compressed file size using a list parameter

I am currently compressing a list of files from a directory in the following format: tar -cvjf test_1.tar.gz -T test_1.lst --no-recursion The above command will compress only those files mentioned ...
Sai's user avatar
  • 151
1 vote
1 answer
2k views

Lossless video compression codecs

I want to create a video (bar.xxx) that is lossless from a video (foo.xxx) using ffmpeg. Could you please show me the parameters for such a video. The video must be playable on VLC and/or Totem. The ...
fosslinux's user avatar
  • 3,821
1 vote
1 answer
502 views

How can I check a compressed file for reliability?

I have a 5GB folder with my research from last year. To save space, I compressed the folder, and all its contents. The compressed file *.tar.xz, is 761MB, which seems really tiny. That made me wonder: ...
j0h's user avatar
  • 14.8k
1 vote
4 answers
13k views

How to convert the iso file into rar or zip or tar?

Is there anyway to extract iso or convert it to zip, rar, or tar file? I have a big .iso file on my remote server and I just want a file from it, not all of that; unfortunately I do not have root ...
Freeman's user avatar
  • 277