03-12-2008
how to compress html files
Hello,
On a Centos 5.0 server, Apache 2.2 delivers static html page. How could I compress those html pages to gain speed and save bandwidth? is there a utility that would be effective and save?
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Anyone know of a script to compress HTML? (remove whitespace, etc.)
I'm basically looking for something like Absolute HTML Compressor (http://www.alentum.com/ahc/) that could be run from a Linux command line. (3 Replies)
Discussion started by: smap
3 Replies
2. Shell Programming and Scripting
Hi Friends,
Can anyone help me out with compressing multiple files.
I have multiple files in directory , I have to compress these into a single file,
I tried using
gzip -r outfile.gz file1 file2 file3.
It is not working
Thanks in advance for your help
S :) (5 Replies)
Discussion started by: sbasetty
5 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I would like to archive some of the scripts below(USFINUM042006_01.CSV
USFINUM042006_02.CSV and USFINUM042006_03.CSV )and also use a wildcard e.g. <command> USFINUM*.CSV. Also there are a lot of similar files but I want only the three latest files to be compressed. Which is the best... (3 Replies)
Discussion started by: indira
3 Replies
4. Filesystems, Disks and Memory
Hello,
I am having difficulty compressing the files using compress or GZIP utility on NAS share NFS mounted on my linux server. Any one have idea on how to do this ? I get the followign error but the trying to compress the files
STRP2> compress STR_OUTBOUND_CDM_LOG_LOB.PRT2008_26.txt... (0 Replies)
Discussion started by: kamathg
0 Replies
5. Shell Programming and Scripting
Could someone give me an idea how to compress all files from a given directory that are not of type .z (compressed). Please help. (2 Replies)
Discussion started by: lesstjm
2 Replies
6. UNIX for Dummies Questions & Answers
I want to compress all the files which are three years older ..I have thousands of files...
1) This doesnt work
find ./ -type f -mtime +1176 -print | xargs -n1 -i tar -cvf {}
Errror
tar: Missing filenames
Probably because of -
find ./ -type f -mtime -1 -print returns -
"
./temp.txt"... (6 Replies)
Discussion started by: kedar.mehta
6 Replies
7. UNIX for Dummies Questions & Answers
Hi!
First off I'd like to stress that I'm a true dummy :)
I have a website with SSH access and since it has user generated content I want to backup my website every day end send it through FTP to a different server. I got it working for my mysql database, so the only thing remaining are the... (2 Replies)
Discussion started by: Mark Wegener
2 Replies
8. Linux
Hi folks,
I'm trying to compress a certain number of files from a cifs mount to a xfs mount, but cannot do it when the total size of the files is bigger than 2GB.
Is there any limitation for above 2GB?
OS is SLES 64bit
The files are maximum 1MB, so there are aprox. 2000 files to compress... (2 Replies)
Discussion started by: xavix
2 Replies
9. UNIX for Dummies Questions & Answers
Could someone please help?
I'm trying to compress all the files in a directory without extension. I know for typical files with extension, the command is something like:
tar -zcvf file.tar.gz *.doc
What is the command for files without extension? Thanks. (4 Replies)
Discussion started by: AChan1118
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
LEARN ABOUT DEBIAN
ecm-compress
ECM-COMPRESS(1) General Commands Manual ECM-COMPRESS(1)
NAME
ecm-compress - selectively strips error correction codes from CD images
SYNOPSIS
ecm-compress cdimagefile [ecmfile]
DESCRIPTION
ecm-compress reduces the size of a CD image file (ISO, BIN, CDI, NRG, CCD or any other format that uses raw sectors) by eliminating the
Error Correction Codes (EEC) and Error Detection Codes (EDC) from each sector when possible.
Since the data ecm-compress strips is usually nearly impossible to compress with traditional tools, the resulting ECM file will compress
far better than the raw CD image.
Hard drives already have mechanisms to protect data integrity, EEC/EDC data can thus be discarded safely.
This data can then be generated again using the command ecm-uncompress.
Because ecm-compress only discards EDC/ECC data for sectors where it's verifiably possible to recreate that data, the process is lossless.
In case of copy protection, ecm-compress will preserve the bogus data.
EXAMPLES
ecm-compress foo.bin
strips the ECC/EDC data from the foo.bin CD image and save the resulting file as foo.bin.ecm
ecm-compress foo.img foobar
strips the ECC/EDC data from the foo.img CD image and save the resulting file as foobar
SEE ALSO
ecm-uncompress(1).
AUTHOR
ecm-compress was written by Neill Corlett.
This manual page was written by Loic Martin <loic.martin3@gmail.com>, for the Debian project (but may be used by others), using the docu-
mentation written by ECM author Neill Corlett.
December 22, 2008 ECM-COMPRESS(1)