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!

compressed files: how to tell real size after uncompress?

Status
Not open for further replies.

bi

Technical User
Joined
Apr 13, 2001
Messages
1,552
Location
US
Is there any way to tell what the size of a file will be after you uncompress it without actually uncompressing it?
 
The following should work:

uncompress -c file | wc -c
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top