Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Location
    Bay Area
    Posts
    133

    how to create tar.gz

    is anyone can teach me how to create tar.gz file ?

  2. #2
    Join Date
    Apr 2003
    Location
    Los Angeles, CA
    Posts
    244
    Hi Vietkool,

    To compress files into a .tar.gz file do this in shell:

    tar -zcf filenameyouwant.tar.gz *

    (Or you can replace the * with the filename you want to compress, the asterisk just takes all the files and directories in the folder and compresses them into the one file).


    Then to extract run this command:
    tar xvfz filenameyouwant.tar.gz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •