Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 34964  / 3 Years ago, tue, june 22, 2021, 5:00:44

i'm using this command to unrar folders:



for file in *.part01.rar; do unrar x ${file}; done;


but i don't know where to add the password in this command. because right now, this command wants the password for every archive in that folder.



thanks


More From » password

 Answers
7

From man unrar:



-p<password>
Set password.


So your line would be something like:



for file in *.part01.rar; do unrar x -p<password> ${file}; done;

[#23565] Wednesday, June 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
panshow

Total Points: 454
Total Questions: 98
Total Answers: 122

Location: Philippines
Member since Sat, Jul 11, 2020
4 Years ago
;