> * Prep test data (some file to be packed) > * run command under "time" command > > $ time tar -czf testout.tar.gz ./test-data > > real 0m0.520s > user 0m0.480s > sys 0m0.040s > > $ time zip -rq testout.zip ./test-data > > real 0m0.474s > user 0m0.460s > sys 0m0.016s > > Simple! Do this with uncompress too. > > Command syntax of each command is found in each man pages. > > time can be shell builtin or independent command. >
Thank you Osamu but I stress that compression / decompression time is not important for this application. That is why I asked on the list what the other advantages and disadvantages of the different formats are. Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org