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.
Questions tagged [compression]
418 questions
2
votes
1 answer
enabling gzip with htaccess...why is it hit or miss?
I have shared hosting through Justhost. I use the HTML5 Boilerplate .htaccess (have tried other methods from here and there without luck) the compression part is as follows:
# Force deflate for mangled headers…

adam-asdf
- 191
- 1
- 11
2
votes
2 answers
What's faster, cp -R or unpacking tar.gz files?
I have some tar.gz files that total many gigabytes on a CentOS system. Most of the tar.gz files are actually pretty small, but the ones with images are large. One is 7.7G, another is about 4G, and a couple around 1G.
I have unpacked the files once…

Buttle Butkus
- 1,741
- 8
- 33
- 45
2
votes
4 answers
Sync files and folders in windows with commands
I am a Linux user. I am looking for a command line tool for Widows(2008 R2) for files & folders synchronization. I am looking for a tool like rsync in Linux. I have to synchronize between two Windows machine and also between a windows and a…

user53864
- 1,723
- 11
- 37
- 66
2
votes
2 answers
How do I get a VHD with compression comparable to ZIP?
My Azure service depends on a huge filetree and I try to deal with that filetree using VHDs. What I currently plan to do is create a VHD file, mount it, format it to NTFS and enable NTFS transparent compression, then copy the filetree there. Then…

sharptooth
- 2,739
- 4
- 32
- 40
2
votes
0 answers
Compressed network file copy
I have 200 GB of SQL Server files I need to copy over a 100 Mbit connection. Assuming maximum throughput that will take five hours. SQL Server files compress very well, generally in the 80 - 90% range. Unfortunately the time it takes to compress and…

mroach
- 121
- 4
2
votes
1 answer
Is Http compression worth it on IIS6?
We have a site in the US that works fairly well with 1-3 second response time with page sizes of 200-400kB in size on average. When we have users in Australia use the system via a VPN (accessing the same system hosted in the US) there is typically…

Arthur Frankel
- 125
- 1
- 2
- 6
2
votes
1 answer
IIS 7.5 - different file size for same compressed file served from two different servers
I'm facing the problem that our lengthy CSS file (129 KB) gets delivered by our ASP.NET web app (running on IIS 7.5 using .NET 4.0) compressed to 24 KB on my local server machine and 36 KB on both our staging and production sites. My local OS is…

Oliver
- 311
- 1
- 5
- 13
2
votes
2 answers
large 20TB+ NTFS volume allocation unit & compression
I am creating backup volume on RAID6 and I want to expand it in the future up to 12 2TB discs. Currently we have 4 discs in RAID5 and 4096 allocation unit + file compression on. Everything is working great.
Now I am creating the new volume (today…

Tomek
- 111
- 1
- 7
2
votes
1 answer
How to remove a certain folder when tar zipping?
I want to remove a folder when I'm creating a tar.gz file as it's for a backup and it takes too much space and is not required
I am using the following command;
tar -cvzf /home/backups/$STAMP-Earth.tar.gz /home/bukkit/
I do not want to include…

Josip Gòdly Zirdum
- 155
- 9
2
votes
1 answer
IIS 7.5 Not Compressing Javascript: NO_MATCHING_CONTENT_TYPE
I have IIS 7.5 set to compress all static files (the default), yet it does not compress .js (javascript) files. When I turn on failed request tracing for compression, the error I get for the compression is:
NO_MATCHING_CONTENT_TYPE
I read about…

Mason G. Zhwiti
- 236
- 2
- 9
2
votes
1 answer
Zip for Windows Server 2008 command line?
I know that this has been asked before, but I have not found an answer for Windows Server 2008. Most references I found are with the Windows Server 2003 Resource Kit, but not for 2008.
I know that there are 3rd party tools, but since there is a…

Remy
- 117
- 2
- 3
- 12
2
votes
2 answers
Batch unzip .zip files using 7z
I have downloaded a large number of .zip files and need to extract them using 7z (p7zip) at the command line. 7z x filename0001.zip is successful, but 7z x *.zip returns a "No files to process" error.
How can I unzip the files as a batch instead of…

Skyhawk
- 14,200
- 4
- 53
- 95
2
votes
0 answers
Content Encoding Error on new IIS 7 server with PHP
I recently moved a PHP (Cake framework) development site from an IIS 6 (x86) server to an IIS 7 server (x64). The content is all the same and the URL rewriting works, but on the attempt to display the first page I get this error:
Error 330…

Ben Brocka
- 229
- 1
- 4
- 12
2
votes
1 answer
Force download of zip file stopping a few thousand bytes short
I'm trying to start a force download of a zip file containing a large amount of images. I'm using php to force the download and it's running on nginx. The weird thing is when i use wget to download the file it usually works, but when I try and…

Brian
- 73
- 2
- 8
2
votes
1 answer
Create ZIP archive without storing permissions?
I am distributing packaged files in ZIP format. I use the following to create:
zip -r distr.zip files/
When expanded on other UNIX system files preserve their permissions as they were when I packed them. I am willing to avoid storing permission…

romaninsh
- 438
- 5
- 16