Linux guys need the compresing a folder command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sony
    Confirmed User
    • Dec 2002
    • 495

    #1

    Linux guys need the compresing a folder command

    I want to make folder Pics to become Pics.zip.

    Totally forgot how to do it, please help.
    Last edited by Sony; 09-10-2004, 08:09 AM.
  • FrankWhite
    Confirmed User
    • Nov 2002
    • 3540

    #2
    tar -zcvf file.tgz dir


    or



    zip -r zipfile.zip dir/*

    Comment

    • Sony
      Confirmed User
      • Dec 2002
      • 495

      #3
      Originally posted by Doomed
      tar -zcvf file.tgz dir


      or



      zip -r zipfile.zip dir/*

      zip -r zipfile.zip dir/* not working

      Comment

      • MickeyG
        Confirmed User
        • May 2004
        • 4134

        #4
        like he said - tar -zcvf file.tgz dir

        Comment

        • Sony
          Confirmed User
          • Dec 2002
          • 495

          #5
          Originally posted by MickeyG
          like he said - tar -zcvf file.tgz dir
          I want to make it .zip

          Comment

          • X37375787

            #6
            use the tar/gzip command and unextract it using winrar under windows.

            Comment

            Working...