uncompressing a zip file on the server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baddog
    So Fucking Banned
    • Apr 2001
    • 107089

    #1

    uncompressing a zip file on the server

    can it be done? if so, how?

    Thank you in advance
  • Thurbs
    The Thrilla in Manila
    • Sep 2004
    • 4785

    #2
    unzip -u 'filename.zip' -d /something/something/dir

    Comment

    • baddog
      So Fucking Banned
      • Apr 2001
      • 107089

      #3
      Originally posted by Thurbs
      unzip -u 'filename.zip' -d /something/something/dir

      Would that be done via SSH?

      Comment

      • ServerGenius
        Confirmed User
        • Feb 2002
        • 9377

        #4
        Originally posted by Thurbs
        unzip -u 'filename.zip' -d /something/something/dir
        what he said
        | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

        Comment

        • baddog
          So Fucking Banned
          • Apr 2001
          • 107089

          #5
          Originally posted by DynaSpain
          what he said

          same question

          Comment

          • Thurbs
            The Thrilla in Manila
            • Sep 2004
            • 4785

            #6
            yah thats a usable command from SSH ... everything command line works on SSH

            Comment

            • SilverTab
              Confirmed User
              • Nov 2001
              • 5060

              #7
              yup you have to access your shell account (so SSH is probably the way to go)
              mmm my sig was too big... no more cool animation
              but hey still! need php? ICQ: 94586959

              Comment

              • baddog
                So Fucking Banned
                • Apr 2001
                • 107089

                #8
                Thank you very much.

                Comment

                • ServerGenius
                  Confirmed User
                  • Feb 2002
                  • 9377

                  #9
                  unzip might not be installed by default on some unix/linux systems
                  for freebsd look in the /usr/ports/compression folder for linux type:
                  whereis unzip if it doesn't return with the path look on google for unzip "your distro" for redhat/fedora/CentOS rpmfind.net for Debian apt-get etc, etc

                  Or just download the source tarbal, unpack it with

                  tar xfz zip-x-x.tar.gz
                  cd zip-x-x-
                  ./configure && make && make install

                  Hope that helps
                  | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

                  Comment

                  • baddog
                    So Fucking Banned
                    • Apr 2001
                    • 107089

                    #10
                    -he has Fedora 3

                    Comment

                    • ServerGenius
                      Confirmed User
                      • Feb 2002
                      • 9377

                      #11
                      fedora 3 uses rpm packages

                      first try to see if unzip is installed by typing in the shell:

                      whereis unzip

                      if it's not installed type:

                      wget ftp://194.199.20.114/linux/fedora/co....51-4.i386.rpm

                      after it's downloaded type:

                      rpm -Uvh unzip-5.51-4.i386.rpm

                      after it's installed you can use it.

                      | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

                      Comment

                      • baddog
                        So Fucking Banned
                        • Apr 2001
                        • 107089

                        #12
                        Originally posted by DynaSpain
                        fedora 3 uses rpm packages

                        first try to see if unzip is installed by typing in the shell:

                        whereis unzip

                        if it's not installed type:

                        wget ftp://194.199.20.114/linux/fedora/co....51-4.i386.rpm

                        after it's downloaded type:

                        rpm -Uvh unzip-5.51-4.i386.rpm

                        after it's installed you can use it.


                        Thanks a lot. You know, I have people looking for a sys admin . . . would this be something you would be interested in . . . piece work most of the time probably (paid by the task as opposed to a long term contract), some want a full timer.

                        Comment

                        • ServerGenius
                          Confirmed User
                          • Feb 2002
                          • 9377

                          #13
                          Sure thanks man....Unix support is my game.....I have loads of clients and good
                          references send em over and I'm sure we can work something out
                          | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

                          Comment

                          Working...