4

I have a .7z file which I need to extract the contents of. The problem is, that it's password protected and currently, I have to SSH into the server and enter the password. I would like to this without the need of this.

Is this possible?

I have tried:

7za x file.7z -ppassword pass

But does not work, just returns "No files to process"

7

This is a year+ late, but in case anyone else googles this, use:

7za x file.7z -p'your_password'

Wrapping the password in single quotes does the trick

| improve this answer | |
1

Seems like the command should be

7za x file.7z -pyour_password

Whereas "-ppassword pass" uses password "password" and tries to extract "pass" file from your archive.

| improve this answer | |
  • No, just returns "Wrong password" Sub items error 1 - Is the right password, however – Phorce Sep 7 '15 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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