Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I copied a large zip file to a Linux server, I didn't realise at the time that it was a 7zip file.

After some messing around I installed 7zip with "yum install p7zip" however when I try to extract the archive with

7za -x ./myarchive.zip

I get the following output

7-Zip (A) 4.61 beta Copyright (c) 1999-2008 Igor Pavlov 2008-11-23 p7zip Version 4.61 (locale=C,Utf16=off,HugeFiles=on,1 CPU)

Error: Incorrect command line

Google is not my friend with this error, so I thought that I would try here. Debated as to if this should be SF or SU, but as it is not my computer I think it is SFs' domain.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Are you sure it takes the "-x" and not just "x"?

And why is the file a .zip instead of the 7zip extension ".7z"?

share|improve this answer
    
that was it, thanks. –  Jeremy French Aug 17 '09 at 15:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.