Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.

learn more… | top users | synonyms

1
vote
1answer
146 views

How does random access work with compressed drives on Windows?

If one turns on drive compression in Windows Server 2003 (ignoring dire warnings of performance), how does random access to that file work? Does Windows create a temporary uncompressed version of the ...
9
votes
6answers
3k views

File size with zfs compression

I usually estimate the size of a whole directory tree using du -ks $DIRECTOY_TREE_ROOT, but this method cannot be used when zfs compression is on. The total displayed by ls -l is ok for a single ...
1
vote
1answer
87 views

Windows file system and its speed problem

We have a server which is overwhelmed by files used by a web app. Because the number of files in the server is too great the overall performance of the whole server has degraded (including other apps)....
2
votes
2answers
988 views

Ubuntu: Compressed, but not encrypted, tunnel for TCP?

How can I set up a tunnel for TCP connections between two hosts so that I can test a few different compression algorithms? I'm aware of stunnel & SSH, but want to avoid the overhead of encryption....
0
votes
1answer
1k views

how do i turn on the Keep Alive and HTTP Compression in Apache server 2.2( centos)

how do I turn on the KeepAlive and HTTP Compression in Apache server 2.2(centos)
0
votes
3answers
554 views

How to use bzdiff to find difference between 2 bzipped files with diff -I option?

I'm trying to do a diff on MySQL dumps (created with mysqldump and piped to bzip2), to see if there are changes between consecutive dumps. The followings are the tails of 2 dumps: tmp1: /*!40101 SET ...
1
vote
1answer
525 views

making apache serve unzipped content from zipped files

I need to serve a bunch of gzipped MIDI files from an Apache server. The catch is that when the user requests them, the response should come back with a "audio/midi" content-type header and not a gzip ...
0
votes
2answers
1k views

Linux script that will stop tomcat, archive log files and reboot the server

I'm just being lazy here, but does any one have already writen bash script for stopping tomcat service, archive it's log files (zip would be nice) and reboot the server? (Using logrotate or any other ...
0
votes
1answer
978 views

edit text file in zip folder on mac os x

I have a zip folder structure which is read as a plugin from a server system. I need to edit some text files inside these zip folders, but extracting editing packing is tedious and error-prone. ...
1
vote
1answer
1k views

how to use the -ax switch in 7z command?

I want to use the 7z command to compress some of files, but I want it to exclude some of the files. I tried the -ai, -ax, and -i switches, but no one seems to work. I need the compressed archive keep ...
4
votes
4answers
767 views

Does ZFS cache Compressed or Uncompressed data in a ZFS file-system with compression turned on?

ZFS supports file-system compression and it also caches frequently or recently accessed data. If a system has lots of CPU but the underlying data storage system is slow. It is possible that ZFS would ...
2
votes
1answer
1k views

How can I enable iis 5.1 compression on windows XP

Is there any other way to enable compression in IIS5.1 other than using the command line? http://technet.microsoft.com/en-us/library/bb742379.aspx These instructions reference a Services tab that ...
3
votes
5answers
5k views

Is there any value in checking MD5 of files after they have been unzipped?

A project I am working on currently requires that the user runs an MD5 hash checking tool on the entire project, after it has been unzipped. They do not currently request that the ZIP itself is ...
18
votes
3answers
27k views

How to unzip files bigger than 4GB?

I'm using RHEL 5.6 and unzip-5.52-3.el5. I'm trying to unzip a big file, but I get the error: unzip -o test.zip -d unzip/ error: Zip file too big (greater than 4294959102 bytes) Archive: test.zip ...
0
votes
1answer
163 views

How do you turn off compression on a specific page?

When compression is turned on globally for the root website, is there a way to turn compression off for a specific page? (ex. download.aspx) I would like to turn it off on a few select pages where we ...
0
votes
1answer
284 views

Apache2 server not recognizing text/css files for expire/compression

I'm trying to add two things: ExpiresActive On ExpiresByType text/css "access plus 30 day" and AddOutputFilterByType DEFLATE text/css but in either case it does not show up compressed or have a ...
3
votes
2answers
1k views

7z all files in directory, remove originals

I have some directories (linux machine) full of highly compressible *.foo files. Right now I just have a script that does gzip *.foo and it gzips each file into its own .gz file, and removes the ...
0
votes
2answers
4k views

I am trying gzip compression for my javascripts and css file but for css it is not working

I am trying gzip compression for my js and css files. but for css it is not working. also when i do page speed analysis using firefox page speed it asks to enable gzip compression on your server. it ...
0
votes
3answers
114 views

Best way to serve .iso's on low disk space host?

A bit of story: I am hosting a few modified Linux distribution images, around 700MBs each. My server's free disk space is the main concern here, my current archive uses up roughly 16/20GBs of my disk ...
1
vote
1answer
778 views

Create self extracting (.exe) zip from the command line

Trying to automate a manual procedure in place currently. This is on a Windows 2008 server. Is there a method to create a self extracting (.exe) zip file from a commandline/batch file?
0
votes
1answer
151 views

Do any of you use lrzip on your servers?

I have been reading about this: https://github.com/epa/lrzip and it seems that lrzip gets more bang for your money. My initial tests however showed takes quite long using lrztar. Any one here have ...
1
vote
2answers
1k views

Have a process which runs nightly to automatically zip old files?

I have a file share, and I want a process which enumerates files on that share and automatically creates a 7z self-extracting exe of files over 1 month old. On a different share, I want to create a 7z ...
3
votes
1answer
911 views

Performance affects of compressing Program Files on Windows / NTFS

What are the performance affects of compressing Program Files on Windows NTFS? On a fast, multicore machine, the overhead of decompression is minimal. Machines are generally disk bound, and if you ...
0
votes
1answer
3k views

Zlib Compression and Deflate compression. how to use correctly in htaccess?

in order to speed up my website and php pages, i use compression my php pages currently fetch text, create thumbnails etc. Currently these two compression paragraphs are at the very bottom of my ...
0
votes
2answers
157 views

Zip archiving tool for auto backup of random files

I realise that I should probably be writing command scripts or something to do this but I'm just a fancy pants software developer who is helping out do some file backup so I want a fast and dirty ...
1
vote
3answers
2k views

Is it a Bad Idea to Use Compressed Folders for Log File Archiving?

We have a custom Windows Service in our production environment that for auditing and diagnostic reasons generates log files in the file system. The log files are quite verbose (by necessity) and ...
1
vote
1answer
633 views

How to get Apache (on Debian squeeze) to compress JS/CSS

I am running Debian squeeze and cannot get Apache to compress JavaScript or CSS. HTML, however, is being compressed. In the conf files in the sites-enabled dir, I've got the following: <Location /&...
0
votes
1answer
220 views

How to enable IIS compression for Web Services?

How do I enable compression for the Web Services request? I've an IIS 6 server that, using the ISAPI filder from Apache, routes the incoming connection to a set of web application running on JBoss. ...
5
votes
3answers
5k views

How to list content from a tar file without recursion?

I've a tar (gz, bzip) file and want to see its content, but not recursively. This is: The "first level" in the file. I already know how to see content: tar -ztf file.tar.gz But it's recursive!! ...
3
votes
2answers
4k views

IIS7 Compression CSS files only compressed when dynamic compression is enabled

If anyone can help it would be appreciated. I would like to enable compression for static files within IIS7 (for the sake of simplicity I'll just refer to static css files for the time being). The ...
2
votes
2answers
246 views

is gunzip atomic?

I have two scripts that watch a directory (postgres warm-standby) one script copies compressed files into the directory and then uncompresses them. the other script watches for the uncompressed ...
4
votes
5answers
796 views

VMWare Image and Compression

I acquired a VMWare image, but everything in the folder was GZipped, IE Each individual file. Now when I attempt to uncompressed the images in order to put onto an ESX machine I run out of space(They ...
0
votes
1answer
466 views

phpmyadmin on my server doesn't support compression

phpmyadmin on my server doesn't support compression: You attempted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your ...
0
votes
2answers
1k views

Zip up a folder, but only include folders with numerical names?

I have a very messy folder which contains thousands of files and directories. I would like to create a Zip file which only contains some of the folders (and files within those folders) - specifically ...
1
vote
1answer
917 views

Gzip pre-compression

I'm using mod_deflate to compress my .css and .js files on the fly: <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-...
0
votes
1answer
2k views

Apache mod_deflate enable?

I'm using the follow code in .htaccess. It works nicely in localhost, however in production server i'm having troubles with gzip compression. AddOutputFilterByType DEFLATE text/css text/html ...
11
votes
5answers
1k views

Tips on efficiently storing 25TB+ worth million files in filesystem

Say you are confronted with 25 TB worth uncompressed log files and you have at your disposal an array of 20 commodity boxes with collective free storage capacity of 25 TB. How would you store these ?...
0
votes
3answers
153 views

BZ2 backup files don't differ in size from day to day

Recently I switched from zip to bz2 for compressing nightly database dumps. The command I'm using is tar cj. The old zip files would always differ ever so slightly in size from day to day: -rw-r--r-- ...
1
vote
2answers
2k views

How to use 7-zip to send a Zip64-compressed file to standard output?

I would like to make a Zip64 archive from a bunch of bzip2 files, using 7za's -so option to send the compressed archive to standard output: $ 7za a dummy -tzip -so myFiles*.bz2 > test.zip Here ...
1
vote
1answer
845 views

Automating compression tasks with 7-zip: Why does “Scanning” take so long?

I've automated a deployment, and used 7-zip to compress a directory as part of the automation. Whenever 7-zip comes to compress the directory, however, it seems to take a long time (over 60 seconds) ...
1
vote
2answers
635 views

Command-line ZIP client

Using the zip command, how do I add all files in the current directory to a zip file without including the folder? For instance, when I unzip, I want all the files to dump out, not get put into a new ...
10
votes
3answers
19k views

Content-Length not sent when gzip compression enabled in Apache?

I would really appreciate some help understanding this Apache behaviour. I am communicating to PHP from an iPhone Objective-C app in application/json. Gzip compression is enabled on the server, and ...
1
vote
3answers
3k views

how to remotely zip files using putty

Is there a way to remotely ZIP up files using Putty the same way you can ZIP up files using Remote Desktop on another machine?
0
votes
1answer
151 views

Creating a tgz file on a remote server without using local harddrive

I have a fairly ancient Fedora server which I have inherited from another company. I only have access to the server VIA SSH. Here are some details of the server: Linux REMOVED 2.6.15-1.1831_FC4 #1 ...
3
votes
1answer
6k views

How to compile PHP Version 5.2.13 with zip support on CentOS?

Hi i am having a big problem, i have a vps with centos installed on it. But i have a script which needs php zip library i checked on php.net it says "In order to use these functions you must compile ...
7
votes
4answers
7k views

How can I recursively bzip2 all files that aren't bzipped?

How can I recursively bzip2 all files that do not end with the .bz2 extension in Linux?
0
votes
2answers
507 views

Need compression utility which uses all CPUs and compresses the best [closed]

I uses RAR since it was released a decade ago perhaps. However it is good for desktop applications I just found that on server where I need to compress a lot of text files every weekend it takes ages. ...
3
votes
1answer
535 views

Adding Utilities to /bin/bash (chrooted)

I have my hosting users on /bin/bash (chrooted) for SFTP. How do I add unzip to the list of utilities they can execute? Running Plesk Panel 9.5.2 on CentOS
3
votes
3answers
2k views

Faster zlib alternatives [closed]

I wonder, if there are any faster builds of zlib around with more advanced optimizations? If it's possible to optimize it using SSE instructions or Intel C++ compiller, or some trick which were ...
0
votes
1answer
188 views

compression: httpZip vs Anything IIS 7 has to offer

I'm trying to evaluate IIS compression tools out there, and saw httpZip. I was wondering if anyone could make a recommendation, did it help and was it substantial? Was IIS 7 even on the same level (...