Basically I have a folder of .rar files that I want to unrar. I have been using the following script:
for name in *.rar; do unrar x $name; done
The script works excellently, except for one thing: all of the files have the same password, and I have to manually type the password every single time. So what I try is
for name in *.rar; do unrar x $name -p<thepassword>; done
But that doesn't work. Help please?
Bookmarks