Mailing List Archive

Support open source code!


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

Re: tlug: Compressing files on Linux



>>>>> "Koji" == Koji Ashida <ashi7627@example.com> writes:

    Koji> if it's already an rpm file, it won't compress much anymore.

Um, ahh, no.  gunzip -c file.gz | bzip2 > file.bz2 can buy up to 25%
more compression (I have seen it, on PPM files---GIF or PNG is rather
more efficient though for that purpose).  But that's probably not
enough, and bzipping an already gzipped file rarely buys as much as 5%
(which is pretty spectacular in itself, though).

Unfortunately, AFAIK bzip2 does not come in RPM format yet.  So you'll 
have to get it yourself.  Sources for a stable version can be found at 
any sunsite mirror.

    Koji> you still can split that file with 'dd' command and transfer
    Koji> with floppy tho.

you can also make a multivolume tar file (tar --create --file=/dev/fd0
package.rpm, you may need a flag to tell tar it's multi-volume, but I
think tar figures this out for you).  This has the advantage that tar
does the accounting, not you.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences        Tel/fax: +1 (298) 53-5091
--------------------------------------------------------------
Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links