Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compression error

Status
Not open for further replies.

ahernandez

Technical User
Joined
Aug 14, 2001
Messages
3
Location
US
Hello Everyone,

I came across an error using the compres command that I have never seen before. I was hoping someone could shed some light :

Compression: -15.91% -- file unchanged

this was part of some output from a script that performs routine maintenance on some directories. Large files are compressed and moved. The above error occured while trying to do a 'compress -v filename' on a file about 100M in size.

How does something get compressed to a negative percentage ?
Any insight would be appreciated.
Thanks

Alan
 
Some files are already compressed, and some just can't be compressed at all- so the "compression" would actually end up making the file larger- in such cases, compress says the heck with it. Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top