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.

learn more… | top users | synonyms

1
vote
0answers
39 views

Compress a folder but skip compressing specific file types and include them as such

I am using tar with pigz to compress a folder and save a backup. Size of this folder ~190 GB or more. This folder has variety of content including numerous text and log files, ISOs and zip files in ...
0
votes
0answers
18 views

Create Compressed Directory

How to create a compressed directory in Ubuntu? Is that possible? I do not want to create an archive file (zip, tar, etc) but rather I want something like compressed directory in an NTFS (Windows) ...
0
votes
0answers
12 views

System wide audio compression for video out to TV

My main issues is watching movies hooked up to my tv from my laptop. Unfortunately my laptop is older, and only has VGA out, so I need to use the headphone jack to the back of TV. The dialogue is way ...
1
vote
2answers
66 views

Is there a graphical interface for archive compression in Ubuntu?

On Windows, I have used the program 7zip for nearly all of my compression tasks in the past. Now, after switching to Ubuntu, I also installed this program from the Software Center. After completion, I ...
3
votes
0answers
120 views

Extract a rar file with a password that contains special characters

How can I extract a rar file with a password that contains special characters like ', ", `, /, \, ^, (space), !, ?, {, }, [, ], $, &, %, *, ~, :, ,, <, >, etc. Here is an example of PASSWORD ...
0
votes
0answers
51 views

Will mounting a btrfs volume with compress=no decompress already compressed data?

If not, how may the data be decompressed? Will defrag process decompress files?
0
votes
0answers
11 views

Which type of tar compression has the best compression power? [duplicate]

There are many variations of the .tar compressed packages tar.bz2; tar.gz; tar.Z; tar.lz; tar.xz I want to compress: A series of text files video(s) I understand that the different types of tar ...
4
votes
2answers
59 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 ...
0
votes
1answer
52 views

What does “Compression Method : null(0)” mean in Client Hello?

As a task of my assignment, I used wireshark to capture packets. Now in Client Hello message, I saw compression method:null(0). Now I am confused what is that mean? Does that mean no compression is ...
0
votes
0answers
29 views

How to compress huge video files? [duplicate]

My Canon camera realize videos with the characteristics described in the picture. The problem is that those files are huge (1Gb for 2 minutes). Is there any application which allow me to compress ...
0
votes
0answers
60 views

How to apply lossy compression on a file/video using the command-line? [duplicate]

How can I apply lossy compression on a video using the command-line? When I use the default compression tool available in Ubuntu (ie. package the video into a tar.gz, zip, etc. file), I don't get ...
4
votes
2answers
278 views

Confusion between archiving and compressing?

I am confused about archiving and compression and I am going to write what I think is correct. Here are the commands that I wish to get a better understanding of: tar –c file > file.tar tar –cf ...
3
votes
1answer
240 views

How to list compression ratio on compression enabled btrfs?

I enabled compression on a btrfs volume. Now how do I know the compression ratio of files or directories? Or at least the overall stats?
0
votes
0answers
47 views

Display all images using next arrow from a compressed file(zip or rar )

Is there a way to display an image from compressed file(zip or rar file) and then press next arrow to display the next image in that compressed file (zip or rar file). In both cases(where we have a ...
0
votes
0answers
59 views

Can't record in high quality

I finally gave up on SimpleScreenRecorder for many reasons, and I'm now trying to use OBS. It seems like it works much better, but I can't figure out how to configure it correctly. There are very few ...
1
vote
1answer
100 views

unable to compress some hidden folders of old OS

I am trying (in Ubuntu 15.05) to compress some folders related to my older versions of OS (Ubuntu 14.10). If I try to compress these folders with "right click > Compress" it gives following error: ...
1
vote
1answer
87 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: ...
0
votes
1answer
105 views

Compress files menu: password grayed out

I am trying to password protect a compressed file, but the option to do so is greyed out. I am using Ubuntu 14.02 Mate. How can i password protect a compressed file?
1
vote
1answer
5k views

How to unpack file with a .pak extension?

I would like to unpack a .pak file on Ubuntu 14.04. How should I proceed?
0
votes
3answers
772 views

Compress folders older than x days

In /opt/abc I have a path where a new folder gets created daily. In that folder a series of files gets created. I would like to run a script every Sunday at 02:00 and compress each folder which is ...
0
votes
1answer
155 views

Linux: compressing pdf with GS is very slow?

I am compressing large PDF files (+10 MB in size) with GS using the following snippet: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH ...
0
votes
2answers
337 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 ...
1
vote
1answer
220 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.
0
votes
1answer
50 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 ...
0
votes
1answer
274 views

Can't unzip compressed files - Ubuntu 15.04

So, here's what I'm faced with atm: I am unable to unzip any type of compressed files - 7z, tar, bz, zip, rar, etc. I've tried in front-ends (nautilus and PCMan) and terminal (unzip, tar, etc) and ...
2
votes
2answers
168 views

Archiving a lot of files / one big file

I want to compress about 100'000 files (that's what find . -type f | wc -l says) with a total disk usage of 100 GB. Most of the files are small but just a handful of them makes up about 70 GB of the ...
4
votes
3answers
3k views

How do I compress multiple files into a .xz archive?

I want to compress several images into a .xz archive. How do I do that?
1
vote
0answers
42 views

Achieve manager like view of compressed files in Terminal [duplicate]

If I can, I will avoid using the GUI to get around my system, and recently what I have found very annoying is that I seem unable to view the contents and open the contents of a compressed file without ...
1
vote
1answer
133 views

ntfs-3g Failed to decompress file

For years the logs of my Ubuntu systems sharing drives with a Windows installation have been routinely flooding logs with: Mar 17 11:00:50 kemosabi ntfs-3g[483]: ntfs_attr_pread error reading ...
0
votes
1answer
190 views

Which subdirectories of / should have compression disabled in btrfs root filesystem?

Imagine you set up your root filesystem to be btrfs with Ubuntu 14.10 defaults (one subvolume for / and one for /home) and you want to compress and deduplicate as much as possible. Which directories ...
0
votes
1answer
142 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.
1
vote
1answer
328 views

Cannot open AR archive file!

I have compressed couple of files and folders (mostly photos) using 'Archive Manager' on Ubuntu 14.04. During compression I've selected file type as AR from the drop-down selector. Now when I'm ...
0
votes
1answer
301 views

How to Compress (More than one at a time) PDF files from terminal

I work with lots of rather large imaged documents ranging from a few bites to multiple gigs of data per file. I need these documents to take up less storage space and especially to be more ...
0
votes
1answer
526 views

Zcache Usage in Lubuntu

Recently I appended zcache to my grub configuration: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash zcache" But I am at a loss as to whether zcache is working or if I need to do something else. There is ...
2
votes
1answer
253 views

How can I archive dd's output directly possibly without using any compression?

It has been determined already in this question that tar cannot read input from stdin. How else can a dd output be archived directly possibly without using any compression? The purpose of doing ...
8
votes
1answer
3k views

Set 7z compression level using GUI in Ubuntu

Archive Manager, or file-roller, doesn't seem to have the option to set the compression level for 7z files. However, the windows client 7-zip has an option to do so using GUI - On Ubuntu/Linux, ...
0
votes
1answer
228 views

Mounted btrfs will [not] compress?

I have a partition formated to btrfs and im willing to store there stuff that I don't use that often but which I need fast access from time to time (some dumps of my PS2 games for now) because I have ...
1
vote
1answer
34k views

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

I am trying to compress a folder with tar command. When i trying to compress it , it works fine the problem is with the file name. source path : /data/file/ destination path : ...
0
votes
2answers
183 views

Lossless Compression using rsync

When using the -z mode to compress data when running rsync, is the compression lossless? sudo rsync -az /path_to/A /path_to/B How can one ensure that any compression would be lossless?
1
vote
0answers
4k views

Linux/Ubuntu native (not Wine) alternative to DVD-Shrink, that can compress a DVD image to a smaller size to fit on a writeable DVD? [duplicate]

An alternative to DVDShrink would be a program able to shrink a DVD movie to a smaller dimension that would fit a standard 4.7 dvd while optionally keeping the dvd-movies structure, menus etc. (that ...
1
vote
2answers
306 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 ...
2
votes
2answers
7k views

How To Zip An Archive Without Including Parent Directory

Help Please I want to zip many folders and their directory tree is like so V- something.txt folder folder g.jpg h.jar Now Whenever i try to zip it it ends creating a zip archive with the v ...
1
vote
1answer
430 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 ...
0
votes
3answers
177 views

can't compress whole file with tar?

I'm not an expert with tar (xz) but I have a video (FLV) and it's size 95MB I would like to compress it and I was using this command XZ_OPT=-9 tar -Jcvf myfile.tar.xz 1.flv (I got this from a ...
0
votes
2answers
3k views

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

Is there anyway to extract iso or convert that to zip or rar or tar file? actually I have a big iso file on my remote server so I just want a file from it not all of that, unfortunately I have not ...
1
vote
1answer
10k views

7z “ultra” settings for zip format

7z "ultra" settings for .7z format are: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on What are the "ultra" settings for .zip format (using 7z)?
0
votes
1answer
1k views

7z “is not supported archive” while updating an archive

While updating an archive we are getting this error: $ 7za u -pPasswored -mhe=on -r -m0=lzma -mx=9 -mfb=64 -md=32m '-x!temp' filename.7z /home/software Error: XXXXXXX.7z is not supported archive ...
2
votes
2answers
3k views

btrfs for deduplication and compression at the same time?

I'm thinking about using btrfs functions for both deduplicate and compress my storage... My question is: is it efficient? I mean, does it deduplicate AND compress at the same time efficiently?! I'm ...
1
vote
0answers
204 views

snzip via apt-get?

The snzip is a data compressor, based on the Google Snappy library. I've found and installed the library itself via apt-get: sudo apt-get install libsnappy-dev but it doesn't include the command ...
1
vote
1answer
144 views

compressed block device

I wanted to experiment with combining bcache and a compressed block device on a hdd and seeing if this will speedup the boot time. Are there any means of compressing a block device at the block level? ...