Thread: zip/unzip
View Single Post
Old 06 December 2007, 13:19   #8
mailman
Zone Friend

mailman's Avatar
 
Join Date: Jun 2005
Location: Warsaw/Poland
Age: 38
Posts: 2,270
Quote:
Originally Posted by Bloodwych View Post
Zip -r (archive location/name) (files to be archived location/name)

It works fine and it DOES recurse/archive subdirectories if you use that -r switch. It's case sensitive - don't use -R
Yes I was wrong in that. I stand corrected. But I did some tests which is better:

Test performed on 5 files:

Code:
1. 09.DAT             51462 - data file
2. AEROSMITH.iff     301594 - picture file
3. DBM.WcManager2    378368 - music module in DBM format
4. ffmpegPPC        1126616 - executable
5. XM.WeirdOfAchron 2171958 - music module in FastTracker format

    Size of archive/percentage of compression
File            LhA              ZIP       Ratio LhA against ZIP (the smaller, the better)
1            12939/74,9%     12441/76%    1,040
2           270181/10,4%    269622/11%    1,002
3           243517/35,6%    242626/36%    1,003
4           541259/51,9%    517732/54%    1,045
5           873508/59,7%    865851/60%    1,008
Overall    1941400/48,1%   1908184/47%    1,017
Though on my machine LhA performed all the tests much faster.

Last edited by mailman; 25 October 2009 at 19:51.
mailman is offline  
 
Page generated in 0.08451 seconds with 9 queries