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.
(assuming password password.)code:for name in *.rar; unrar x $name -ppassword; done
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] unraring en masse in bash
Ubuntu
Comments
Post a Comment