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

0
votes
3answers
25 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
24 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
14 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
22 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
23 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 ...
-7
votes
1answer
45 views

How to create and exploit a zip bomb? [on hold]

I am trying to create a zip bomb using shell. In one of the previous answers on the site, I saw this: dd if=/dev/zero bs=1000 count=1000000 | gzip > test.gz How does the above command work ? I ...
0
votes
1answer
38 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 ...
0
votes
1answer
11 views

xz, lzma, bzip2 or gzip? for archival purposes on optical media [closed]

I have 500GBs of : source code directories. pdf files. windows executable files. I need to burn them all on DVDs (as a backup) : Space is first priority. Retrievability from optical media is ...
2
votes
2answers
60 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 ...
2
votes
3answers
183 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?
0
votes
0answers
65 views

How to uncompress vmlinuz

I have extracted a 14.04 iso file. How would I decompress vmlinuz and then compress it back?
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
49 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
68 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
50 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
66 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
66 views

How to Compress (More then 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
124 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
167 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 ...
0
votes
0answers
71 views

How to reduce file size in swf files?

I'm trying to reduce the file size in a swf file that is 17 MB in Ubuntu 14.10. I tried using swftools and avconv. When I did swfcombine -dz file.swf -o file_new.swf swftools only managed to ...
5
votes
1answer
839 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
131 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 ...
0
votes
1answer
2k 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
75 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?
0
votes
0answers
18 views

Installing deprecated tool pack

I'd like to install the pack tool to solely employ Huffman coding to a file, for academic purposes. It is suggested to install liballegro4.2-dev, but I doubt it provides the same tool. Looking for ...
0
votes
3answers
1k 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?

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
116 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 ...
-1
votes
1answer
2k 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
186 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
0answers
134 views

CRC error when trying to open archive with gzip/tar

When I run the command tar xvf ns-allinone-2.28.tar.gz it gives the following error: ns-allinone-2.28/tclcl-1.16/tkAppInit.cc gzip: stdin: invalid compressed data--crc error tar: Child returned ...
0
votes
3answers
108 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
1k 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
3k 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
587 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 ...
0
votes
1answer
2k 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
101 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 ...
0
votes
1answer
88 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? ...
5
votes
5answers
2k views

What is the difference between different “compression” systems?

I've always used TAR and ZIP for compression, but recently I have heard about the *.Z compression algorithm. This brought up a question for me: With all of these compression systems, which one is ...
0
votes
2answers
115 views

Command/App to convert video files [duplicate]

Anyone know how to batch convert multiple video files into smaller sizes?
2
votes
1answer
69 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 ...
0
votes
1answer
366 views

How to create a .bz2 file from a directory without using tar?

I've been searching on the internet and used Archiver to make .bz2 files. My archiving tool only makes tar.bz2 and my game host doesn't read that. It reads .bz2 files only. Is there a way to make a ...
2
votes
1answer
134 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 ...
0
votes
2answers
159 views

How do i backup my videos folder

Is there a way that I can compress my videos folder to a very small size that can fit in an 8 GB USB-drive? The folder is about 32 GB and has all our family videos in it. I tried backing up but the ...
0
votes
0answers
35 views

How to routinely back up files on Ubuntu Server 12.XX? [duplicate]

I would like to know how I can setup a automated backup for Ubuntu server to either make a compressed backup of a group of files or upload them to a remote server. I don't need a whole system backup ...
1
vote
1answer
88 views

How do I add convert wav into flac to the context menu?

I would like to right click on an wav-audio file in Nautilus or Dolphin and convert it to a FLAC-audio file that way with the highest possible loss less compression.
0
votes
2answers
4k views

Missing GUI application for 7-Zip?

I installed 7-Zip from Software Center, but where is the GUI application? Original question asked by a user: ich habe 7Zip aus dem Softwarecentrum installiert, finde aber kein Symbol zum ...
1
vote
2answers
52 views

Can you have debs without compression?

I'm in the middle of doing an upgrade on a really slow machine. It's an Intel Atom that's a few years old. It's perfect for watching video and using XBMC but it really honks at decompressing hundreds ...
0
votes
1answer
1k views

Make the daily log rotate run on exact time

I have Ubuntu 12.04.2 LTS server. My daily log rotations which are listed under /etc/logrotate.d/ are executed at the morning around 7:00 am, but it is not on exact time, each day it changed on range ...
9
votes
2answers
17k views

Compressing folders with password via command line

I would like to know whether it is possible to do the following via CLI. I have a Folder F which contains several sub folders and some files. I want to compress folder F into .zip file with the ...
15
votes
3answers
57k views

how to extract tar.7z files from command line? [duplicate]

Is there a way to extract files of tar.7z format using command line tools in Ubuntu?