Unrar password protected file on ubuntu

So I created a .rar file on windows and it's password protected, and now I'm uploading it to a server, how can I unrar that file on the server to work with the password protected file.

I guess tar -xzfwon't work

1

1 Answer

You'll need to install unrar or unrar-free

sudo apt-get install unrar-free

Then:

unrar-free -x -p password file

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like