You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the problem you're trying to solve
Opening an archive file i.e., zip, or rar on Yazi will automatically extract the contents of the archive file. However, if it is password protected, it fails. To circumvent this, I have to use KDE's Ark to open, input the password, and extract the contents.
Would you be willing to contribute this feature?
Yes, I'll give it a shot
Describe the solution you'd like
Make it so that if the archive file is password protected, it will ask for password input on Yazi itself to extract the archive contents.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi, you can use read -s pass to read the password entered by the user into $pass, and then pass $pass to the unar command, similar to what #51 (comment) did.
I plan to implement compression/decompression as a separate plugin, but haven't found the time, so please use this workaround for now.
To anyone who stumbles upon this who wants to extract a password protected archive file in Yazi without using any other apps to do it simply go to .config/yazi/keymap.toml, and add this line of code:
To test it, select a password protected archive file (space as default) to highlight, then press c, and z. It should ask you for your password, and if the password is correct, it should extract it.
I'm going to lock this issue because it has been closed for 30 days. ⏳
This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Please describe the problem you're trying to solve
Opening an archive file i.e., zip, or rar on Yazi will automatically extract the contents of the archive file. However, if it is password protected, it fails. To circumvent this, I have to use KDE's Ark to open, input the password, and extract the contents.
Would you be willing to contribute this feature?
Describe the solution you'd like
Make it so that if the archive file is password protected, it will ask for password input on Yazi itself to extract the archive contents.
Additional context
No response
The text was updated successfully, but these errors were encountered: