I need to unzip a
.zip file which is password protected using
I am able to unzip the .zip file (if it is not password protected) using this command
unzip /Users/vikas/Desktop/as.zip -d /Users/vikas/Desktop/new\ folder
Note: I need to pass the password in the command. I know when it asks for the password, but my scenario is different as I have to pass the password in the command itself (e.g.
-p "my password" in Linux).