[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE compression options: tar, zip, or rar



On Sat, Jul 11, 2009 at 05:53:12PM +0300, Dotan Cohen wrote:
> Test what? I know not enough about them to know what to test. I would
> have never learned about the data integrity issue by my own testing,
> nor about file permissions because I would not even think about that.
> That is why I asked the experienced people here.

* 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.

Osamu


Reply to: