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



    s23
    3,188Articles

    HowTo/UncompressFilesInLinux

    .tar[edit]

    UNCOMPRESS[edit]

    tar xvf FileName.tar
    

    COMPRESS[edit]

    tar cvf FileName.tar DirName
    


    .gz[edit]

    UNCOMPRESS[edit]

    gunzip FileName.gz
    

    OR

    gzip -d FileName.gz
    

    COMPRESS[edit]

    gzip FileName
    

    .tar.gz[edit]

    UNCOMPRESS[edit]

    tar zxvf FileName.tar.gz
    

    COMPRESS[edit]

    tar zcvf FileName.tar.gz DirName
    

    .bz2[edit]

    UNCOMPRESS[edit]

    bzip2 -d FileName.bz2
    

    OR

    bunzip2 FileName.bz2
    

    COMPRESS[edit]

    bzip2 -z FileName
    

    .tar.bz2[edit]

    UNCOMPRESS[edit]

    tar jxvf FileName.tar.bz2
    

    COMPRESS[edit]

    tar jcvf FileName.tar.bz2 DirName
    


    .bz[edit]

    UNCOMPRESS[edit]

    bzip2 -d FileName.bz
    

    OR

    bunzip2 FileName.bz
    

    COMPRESS[edit]

    unknown
    

    .tar.bz[edit]

    UNCOMPRESS[edit]

    tar jxvf FileName.tar.bz
    

    COMPRESS[edit]

    unknown
    


    .Z[edit]

    UNCOMPRESS[edit]

    uncompress FileName.Z
    

    COMPRESS[edit]

    compress FileName
    

    .tar.Z[edit]

    UNCOMPRESS[edit]

    tar Zxvf FileName.tar.Z
    

    COMPRESS[edit]

    tar Zcvf FileName.tar.Z DirName
    


    .tgz[edit]

    UNCOMPRESS[edit]

    tar zxvf FileName.tgz
    

    COMPRESS[edit]

    unknown
    

    .tar.tgz[edit]

    UNCOMPRESS[edit]

    tar zxvf FileName.tar.tgz
    

    COMPRESS[edit]

    tar zcvf FileName.tar.tgz FileName
    


    .zip[edit]

    UNCOMPRESS[edit]

    unzip FileName.zip
    

    COMPRESS[edit]

    zip FileName.zip DirName
    


    .rar[edit]

    INSTALL[edit]

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

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

    UNCOMPRESS[edit]

    rar a FileName.rar
    

    COMPRESS[edit]

    rar e FileName.rar
    


    .lha[edit]

    INSTALL[edit]

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

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

    UNCOMPRESS[edit]

    lha -e FileName.lha
    

    COMPRESS[edit]

    lha -a FileName.lha FileName
    


    .rpm[edit]

    UNCOMPRESS[edit]

    rpm2cpio FileName.rpm | cpio -div


    .deb[edit]

    UNCOMPRESS[edit]

    dpkg -x FileName.deb 
    


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


    Related[edit]

    Unpack

    Backup_streaming_tar

    Softcoder-Board: packen mit tar (und gz)

    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.