×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    HowTo/UncompressFilesInLinux: Difference between revisions

    Content added Content deleted
    imported>Took
    m (Related)
    imported>mutante
    mNo edit summary
    Line 194: Line 194:


    [http://hardcoder.web-produzent.de/showtopic.php?threadid=109 Softcoder-Board: packen mit tar (und gz)]
    [http://hardcoder.web-produzent.de/showtopic.php?threadid=109 Softcoder-Board: packen mit tar (und gz)]

    <jargon />


    [[Category:HowTo]]
    [[Category:HowTo]]

    Revision as of 14:50, 2 November 2007

    .tar

    UNCOMPRESS

    tar xvf FileName.tar
    

    COMPRESS

    tar cvf FileName.tar DirName
    


    .gz

    UNCOMPRESS

    gunzip FileName.gz
    

    OR

    gzip -d FileName.gz
    

    COMPRESS

    gzip FileName
    

    .tar.gz

    UNCOMPRESS

    tar zxvf FileName.tar.gz
    

    COMPRESS

    tar zcvf FileName.tar.gz DirName
    

    .bz2

    UNCOMPRESS

    bzip2 -d FileName.bz2
    

    OR

    bunzip2 FileName.bz2
    

    COMPRESS

    bzip2 -z FileName
    

    .tar.bz2

    UNCOMPRESS

    tar jxvf FileName.tar.bz2
    

    COMPRESS

    tar jcvf FileName.tar.bz2 DirName
    


    .bz

    UNCOMPRESS

    bzip2 -d FileName.bz
    

    OR

    bunzip2 FileName.bz
    

    COMPRESS

    unknown
    

    .tar.bz

    UNCOMPRESS

    tar jxvf FileName.tar.bz
    

    COMPRESS

    unknown
    


    .Z

    UNCOMPRESS

    uncompress FileName.Z
    

    COMPRESS

    compress FileName
    

    .tar.Z

    UNCOMPRESS

    tar Zxvf FileName.tar.Z
    

    COMPRESS

    tar Zcvf FileName.tar.Z DirName
    


    .tgz

    UNCOMPRESS

    tar zxvf FileName.tgz
    

    COMPRESS

    unknown
    

    .tar.tgz

    UNCOMPRESS

    tar zxvf FileName.tar.tgz
    

    COMPRESS

    tar zcvf FileName.tar.tgz FileName
    


    .zip

    UNCOMPRESS

    unzip FileName.zip
    

    COMPRESS

    zip FileName.zip DirName
    


    .rar

    INSTALL

    RAR : http://www.rarsoft.com/download.htm

    [root@www2 tmp]# cp rar_static /usr/bin/rar

    UNCOMPRESS

    rar a FileName.rar
    

    COMPRESS

    rar e FileName.rar
    


    .lha

    INSTALL

    lha : http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/

    [root@www2 tmp]# cp lha /usr/bin/

    UNCOMPRESS

    lha -e FileName.lha
    

    COMPRESS

    lha -a FileName.lha FileName
    


    .rpm

    UNCOMPRESS

    rpm2cpio FileName.rpm | cpio -div


    .deb

    UNCOMPRESS

    dpkg -x FileName.deb 
    


    from: http://www.linuxgazette.com/node/9542


    Related

    Unpack

    Backup_streaming_tar

    Softcoder-Board: packen mit tar (und gz)

    <jargon />

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.