Find the answer to your Linux question:
Results 1 to 6 of 6
I ftp upload a zip file to a linux pc, for example, somefile.zip, can I uncompress the zip file use "#tar zvf somefile.zip", Thanks for help!...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19

    uncompress zip file.

    I ftp upload a zip file to a linux pc, for example, somefile.zip, can I uncompress the zip file use "#tar zvf somefile.zip", Thanks for help!

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    No. You need to use unzip. tar -z is for gzipped tar files (tar.gz).

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19
    Thanks!
    "unzip somefile.zip " Is this ok?

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Ÿes. AS long as the relevant tool is installed. For more info, check "man unzip" or "unzip --help"

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Quote Originally Posted by i92guboj View Post
    No. You need to use unzip. tar -z is for gzipped tar files (tar.gz).
    tar -z will also work for bzip2 compressed tarballs, at least with current incarnations.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined! Daisuke_Aramaki's Avatar
    Join Date
    May 2009
    Location
    0711/de
    Posts
    7
    you just need the unzip utility.

Posting Permissions

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