On Mon, 30 Nov 2009, ERSEK Laszlo wrote:
On Mon, 30 Nov 2009, Aníbal Monsalve Salazar wrote:
gzip -dc lbzip2_0.18.orig.tar.gz | bzip2 -9 - > lbzip2_0.18.orig.tar.bz2
touch -r lbzip2_0.18.orig.tar.gz lbzip2_0.18.orig.tar.bz2
Just to understand it better, are both the gz and bz2 tarballs necessary for
upload? If not, a gunzip / bzip2 sequence might suffice, since they both
preserve mtime.
... although the version you've suggested is clearly more elegant,
overlapping gunzip with bzip2, and involving no temporary uncompressed
file.
(sorry for the self-followup)
Cheers,
lacos