10
3
I have a bunch of gzip files that I have to convert to bzip2 every now and then. Currently, I'm using a shell script that simply 'gunzip's each file and then 'bzip2's it. Though this works, it takes a lot of time to complete.
Is it possible to make this process more efficient? I'm ready to take a dive and look into gunzip and bzip2's source codes if necessary, but I just want to be sure of the payoff. Is there any hope of improving the efficiency of the process?
Hi, I've changed the accepted answer to this one since this gives the best option for people stumbling upon the question today. Thanks for the
– sundar - Reinstate Monica – 2018-05-08T10:44:11.260pbzip2
mention. In case the link doesn't load for anyone else, here's the project page and the man page.