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
0
votes
0answers
39 views

Mounting btrfs partition with compression enabled

I've got a btrfs partition on a SSD drive. This partition is not mounted by default, it's not root. It's just a plain data partition which is mounted on demand. Nothing fancy. The btrfs partition was ...
0
votes
1answer
33 views

Unpacking .lz format: what does this command do?

I'm trying to unpack Ubuntu Desktop's initial ramdisk (initrd.lz) to inspect some casper components. The lz format is indeed interesting, but what more surprises me is the unpacking method (that ...
0
votes
1answer
15 views

How to configure Krusader's extract context menu to use something other than ark?

I've found this context menu in krusader to be very unreliable over the years, it has hardly ever worked for me. Surely it's possible to configure the context menu to use a custom command, like simply ...
3
votes
0answers
26 views

Archive Manager: An error occurred while loading the archive

I'm recently getting this error when trying to open a simple zip file using file-roller aka Archive Manager. I've unzip, unrar and 7zip installed already. However, when I try decompressing the files ...
2
votes
1answer
88 views

Running out of hard drive space because compression is not happening quickly enough

I am downloading files (in parallel) which have a very large amount of data (fastq files) into a directory. I am running out of space quickly. So I got the following script (from here, modified ...
0
votes
1answer
25 views

How to zip a mobi file from the CLI?

Using tar works fine: thufir@dur:~/Desktop$ thufir@dur:~/Desktop$ ll total 9720 drwxr-xr-x 2 thufir thufir 4096 Jun 13 13:14 ./ drwxr-xr-x 48 thufir thufir 4096 Jun 13 00:46 ../ -rw-r--r-- ...
3
votes
2answers
94 views

Reduce mp4 size to send through email

I could not send a mp4 using Yahoo! mail because it took around 30 minutes. On Ubuntu MATE 18.04, I reduced the size using ffmpeg. ffmpeg -i sm_Julia1.mpr -s hd480 -strict -2  output.mp4 But the ...
1
vote
2answers
89 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 ...
0
votes
1answer
43 views

Discrepancy in the size of compressed file

I was trying to compress a folder into .tar format. The folder size is around 76 MB. Suppose I want to compress the folder myfolder to my-compressed-folder (in tar format) I tried 2 approaches: 1) ...
0
votes
2answers
61 views

How to compress and download directory from remote to local?

I have a directory on my Ubuntu server that has many subdirectories and files. I want to download entire folder, so I used this command: scp -r myuser@mywebsite.com:/path/to/target_directory /path/to/...
0
votes
2answers
24 views

Compress folder following any symbolic links

I store a lot of my data in a flat structure and the create symbolic links to different folders where my clients can access them via OwnCloud. I need to compress one of these folders containing sym-...
0
votes
0answers
15 views

Tar archive then compression

I used tar to archive a dir. Then I compressed it with gzip. Now when I used tar -xvf a.tar.gz, I got my original file. Why without unzip it I got my original file?
0
votes
0answers
39 views

Ubuntu 19.10 - Compress with password from Nautilus context menu

I think I used to be able to create a password-protected, compressed archive of a directory directly from the Nautilus file manager by right clicking on the directory, Choosing "Compress..." and ...
0
votes
0answers
15 views

Gzip files in Apache Ubuntu

I'm new to Ubuntu, I have a website online developed in Node.js and angular what exactly I need to do for gzip my whole application?
2
votes
1answer
561 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 ...
0
votes
0answers
55 views

Ubuntu 18.04 LTS Desktop Background Compression

I hope some of you can help. I recently took a nice photo and decided I would like it as my desktop background. The image is around 4000x2200 pixels and is in ratio with my monitor. When I view the ...
0
votes
0answers
145 views

My question is Squashfs throws a squashfs_read_data error failed to read block 0x9d4934a

About 2 weeks ago, I noticed that the speed of my backups to a USB disk drive had decreased by roughly 2 orders of magnitude. Ouch. So I dug in, and in kern.log, I found thousands of errors of the ...
1
vote
1answer
50 views

Converting and size reduction of .m2t video for Flickr?

I have a .m2t video file that I would like to upload to Flickr. Can someone advise the best way to go about reducing the file size to <1gb and changing the file type to one that is accepted by ...
0
votes
0answers
40 views

Folder compression

In Windows there is an option to compress the folders to save disk space. This is done by right clicking the folder and selecting the Properties and then pressing the Advanced button Folder Properties ...
9
votes
5answers
7k views

How do I use an .img.xz file or get an .img file from it?

I have a file with an xz extension, ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz. How do you get the .img out of it? My goal is to flash the file on an SD card. I want to use www.etcher.io I ...
1
vote
1answer
659 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 ...
1
vote
0answers
358 views

ubuntu tar.xz multi thread compression from nautilus

I tried to compress large file from nautilus compress menu (tar.xz). it takes huge time and i can see it use 1 thread from my cpu. I set the XZ_DEFAULTS environment variable to .bashrc but still it ...
1
vote
2answers
86 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?
0
votes
0answers
61 views

Unable to lock Zip file Ubuntu 18

I am trying to make a locked ZIP folder in Ubuntu 18.04. I followed this post, but it locked the files inside it and not the ZIP folder as a whole. I can open the ZIP folder without providing a ...
1
vote
1answer
717 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: ...
1
vote
1answer
31 views

Problem with a front end of compressed files

I need to make a frontend for compressed files, the idea is that if you receive a gz or bz2 file, uncompress it with gunzip and bunzip2. If what you receive is a tar.gz or a tar.b2 you should unpack ...
2
votes
1answer
433 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 ...
0
votes
1answer
754 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
2k 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
253 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
728 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
2answers
136 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
689 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
53 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 ...
5
votes
1answer
668 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. ...
7
votes
1answer
2k 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
39 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
415 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
240 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 ...
1
vote
1answer
3k 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
434 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 ...
3
votes
1answer
4k 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 ...
2
votes
0answers
55 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
27 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
2answers
445 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
8k 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 ...
7
votes
1answer
4k 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
1k 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
2k 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
2 3 4 5