Skip to main content

Thread: unraring en masse in bash


basically have folder of .rar files want unrar. have been using following script:

name in *.rar; unrar x $name; done

script works excellently, except 1 thing: of files have same password, , have manually type password every single time. try is

name in *.rar; unrar x $name -p<thepassword>; done

doesn't work. please?

it works me. sure password correct? linux case sensitive. contain special characters or spaces? error message?

edit:
don't have separate -p option password space.

code:
for name in *.rar; unrar x $name -ppassword; done
(assuming password password.)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] unraring en masse in bash


Ubuntu

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts