Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
53 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 ...
2
votes
2answers
63 views

Compressing folder without using additional space on the drive

I have an 18GB EC2 instance that has run out of space. I wanted to zip and transfer files off the server to a local drive. There is just about 1% free space remaining on it. This means that I cannot ...
1
vote
0answers
30 views

Logstash does not compress the old logs

We are using: root@server:~# /usr/share/logstash/bin/logstash --version logstash 6.2.4 on: root@server:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu ...
0
votes
1answer
56 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 ...
0
votes
0answers
21 views

VPS compressing images, if under load returns 0 compression rate

I have a stupid problem.. cannot find a solution.. I have a VPS which compresses my images... 8 cores, 16gb ram... But if I send too many images at once it starts returning 0 compression rate.. Is ...
0
votes
2answers
71 views

Why am I not seeing encryption as an option in file roller? [duplicate]

Ubuntu 18.04.1 LTS I've done: sudo apt-get install p7zip-full ...but when I launch file roller, I don't see any encryption options and the UI seems very basic.
1
vote
0answers
104 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 ...
0
votes
1answer
17 views

PNG Image Compression for Wordpress

Wordpress site getting heavier due to images , checked through google insights which states to compress images as its slowing down the site. There are many online venues but I need a opensource .deb ...
4
votes
1answer
159 views

How do I make nautilus use file-roller in Ubuntu 18.04 and above like in 17.04?

New nautilus is not using file-roller any more by default, it has switched to its native expression, but I want to use file-roller on right click. I found this answer, which worked in Ubuntu 17.10. ...
4
votes
1answer
241 views

Can I see the option tar.gz in the GUI ubuntu 18.04

I am trying to zip in .tar.gz in the GUI, but only these options appear in the window: .zip, tar.xz y .7z Could the tar.gz be in the window?
0
votes
1answer
36 views

Batch low quality compress +1TB of images and videos in multiple folders

I have over 1TB of images and videos spread across multiple folders (personal photos and videos, from the last 15 years) and I wanted to back them up but I don't need them to be stored in high quality....
0
votes
1answer
82 views

Reduce the file size of multiple .mp3s of voice recordings via command line at once

Problem: I have some mp3 files that take up way too much space. These mp3 files happen to be voice recordings, so they can be reduced in file size without a noticeable loss in quality. Specific ...
0
votes
2answers
100 views

CR2 Photos compressing from Windows 7 to Ubuntu

Right now I'm going to completely move to Linux. I need to move my photos from a laptop running Windows 7 to a PC running Ubuntu. I tried sending it via Google Drive (single file, ZIP archive, RAR ...
0
votes
1answer
512 views

make zram use lz4 compression algorithm

Ubuntu 18, trying to make zram to use lz4 compression. Tried modifying /usr/bin/init-zram-swapping file #!/bin/sh ........... ........... for i in $(seq ${NRDEVICES}); do DEVNUMBER=$((i - 1)) ...
2
votes
0answers
240 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 ...
2
votes
1answer
745 views

Compressing folder on aws instance creates a duplicate

I have a web app in this path var/app/current I use this command to zip everything including hidden files like htaccess zip -r yourfile.zip * .* It generates the zipped file which contains the web ...
0
votes
0answers
55 views

Transparent File Compression

After Playing around with CompactGUI on Windows, I got curious about transparent compression and did a google search for Linux, but very little came up. So... I have a few questions. 1.) Is there an ...
2
votes
0answers
26 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 ...
0
votes
1answer
25 views

Is there a way to hide files after compressed?

I've been trying to encrypt some data with 7za (don't even know if it's secure enough) but, even after encryption and compressing, it would be possible to check which files my compressed file contains....
0
votes
0answers
56 views

XFCE - How can I restore the option to zip files using the right click menu?

When I right-click on a file (or group of files), I no longer have the option to zip a file(s). How could I restore it?
0
votes
2answers
142 views

how to compress back up files to < 10GB

I recently backed up a shared drive between ubuntu and windows for fear that windows will corrupt the contents again. The Back up files by deja dup takes around 120GB of space. I then compressed it to ...
1
vote
1answer
6k views

How to install Java 7 or jkd 7 on Ubuntu 16.04? [duplicate]

I'm really in trouble. As the Java 7 support and built are not available anymore on the web. I have gone through many of resources and question answering websites online but unable to resolve this ...
5
votes
1answer
2k views

Create RAR archive in 17.10

I used to be able to create a rar archive from a file or folder by just right-clicking on the file (in Nautilus) and choosing "Compress...". I had the option to choose the rar format, which I like ...
1
vote
1answer
490 views

Gimp-level JPEG compression with Imagemagick

I have a batch of images I want to compress. There are hundreds, so I'd like to use CLI tools. The images have the following characteristics. $ identify 100.jpg 100.jpg JPEG 639x426 639x426+0+0 8-...
8
votes
1answer
1k views

How to make nautilus use file-roller in 17.10 like in 17.04?

In Ubuntu 17.10 ubuntu upgraded Nautilus (File Browser) to version 3.26.0. New nautilus is not using file-roller anymore, it has switched to an integrated compression mechanism. This makes it ...
1
vote
0answers
297 views

How can I start using Snappy compression in Ubuntu after installation?

I have recently installed google's snappy compression library (link) in my Ubuntu (16.04 LTS) machine. As I want to use the library to compress and decompress the files of my interest, what are the ...
2
votes
2answers
112 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?
0
votes
1answer
773 views

using rsync do compress whole directory during copy

Files, Folders, Sub folders from system1 are successfully copying to system2 using below command rsync -avzP -u -v -e ssh /opt/lampp/htdocs/files/* demo@192.168.157.130:~/files_backup I need to ...
1
vote
0answers
49 views

How does the Archive Manager handle temporary files?

Suppose I have a password protected compressed file, lets call it file.rar. It contains a video file, lets call video.mp4. I open file.mp4 with Archive Manager, enter the required password and double ...
0
votes
1answer
48 views

Decompressing 8GB Text file

I have a .xz file whose size is more than 8GB. I wonder if I can extract it without reading all of them at the same time.
0
votes
1answer
905 views

how to get the latest version of gzip? [closed]

I am currently running Ubuntu 12.04 LTS I'm having gzip of version 1.4. how do I get the latest version of it (say gzip 1.6)? how to I upgrade to latest version of it?
3
votes
3answers
983 views

Why do only some of my logs get rotated?

I'm using Ubuntu 14.04. I have the following in my /etc/logrotate.conf file ... /home/rails/myproject/log { daily rotate 3 compress delaycompress missingok ...
2
votes
0answers
91 views

Using multiple cores to unpack a deb file in dpkg/gdebi/apt

I often need to test a deb package install in which the extraction step takes quite a bit of time. I've noticed that gdebi only (seems) to use a single core for the extraction, but it looks like ...
0
votes
1answer
831 views

Trying to rar all subdirectories in a directory, not raring sub directories with folders in them

I'm trying to rar all of the subdirectories inside of a directory into their own separate .rar files using the text below: for dir in */ do base=$(basename "$dir") rar a "${base}" "$dir" done The ...
2
votes
1answer
1k 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 ...
0
votes
0answers
90 views

How do I compress, encrypt and transfer (sync) files to a remote server?

So far I have used rar to compress and encrypt files, then sent them via SFTP. Mostly for archiving purposes, like family photos and such. Photos are in monthly folders. Nothing super secret but not ...
0
votes
2answers
535 views

Why does Ubuntu support so many file compression formats? [closed]

I don't know if only Ubuntu or all Linux distributions support so many file compression formats. But, why are so many formats supported? Where in Windows, by default only .zip files are supported. On ...
3
votes
1answer
3k views

enabling lz4 compression in zswap (ie, making zswap more efficient)

I'm trying to enable LZ4 compression for zswap on Ubuntu 16.04.1 LTS. My GRUB config: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=cfq profile zswap.enabled=1 zswap.compressor=lz4 zswap....
8
votes
1answer
2k views

How to make Files use file-roller again? [duplicate]

How can I get more options (in addition to zip, tar.xz and 7z) and the option to add password when making archive files in file-roller in Gnome 3.22? Thanks! Screen-shot of new create archive in ...
3
votes
2answers
901 views

How to force “archive manager” (file-roller) to use all cpu cores?

I am using Ubuntu's Archive Manager (file-roller) to compress (tar.gz) some large files and directories. Often this takes a long time, because this program uses just one of my eight CPU cores. Is ...
3
votes
1answer
628 views

Any way to multithread dpkg-deb

Compression for a 500MB deb takes a long time. I still need the compression. Is there anyway to multithread it? There's pxz, pigz, pbzip2. Is there any way I can get dpkg-deb to use one of these. Or ...
2
votes
1answer
124 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 ...
2
votes
0answers
57 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 ...
2
votes
1answer
6k views

zip multiple folders into a zip file using terminal [duplicate]

I wish to store a few folders in a zip file and then convert that zip file into a jar. I have the following folders : META-INF and org. I tried the following command: zip META-INF/ org/ wordcount....
1
vote
1answer
1k views

How to zip a folder with a lot of duplicate files inside, with the highest possible compression level?

I know that using tar with -J option makes it possible to compress a folder with a high level of compression resulting a tar.xz file. I have a folder holding multiple backups of my working space, ...
1
vote
0answers
38 views

Scan software for ubuntu with built-in (GhostScript) compression

My situation I use XSane scanning software to scan documents. I like how it works. Only downside is that the resulting files are large. E.g. an A4-size full-color scan at 300 DPI is a ~10 MB pdf-file. ...
0
votes
1answer
21 views

What are the advantages of backing up on an external disk instead of the deja-dup in the home directory?

I've been advised to do so in a Youtube video, so I'd like to know. Also, if the backup application uses any sort of compression, how much would it be reduced to? Thank you
1
vote
1answer
1k 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 ...
0
votes
1answer
127 views

Cannot compress files after upgrading to Ubuntu16.04

I just found that I cannot compress files using the default built-in compression function of Ubuntu. It just stop at the middle. It used to work well. Decompression is ok with no problem. I just ...
-1
votes
1answer
1k views

How can I check an “unexpected EOF” in my .tar.gz file?

Hi I have a problem with a .tar.gz file wich has backup of family photo collection and so. I've tried gzrecovery toolkit and i did gzrecover file.tar.gz and cpio -F file.tar.recovered -i -v Buy i ...