bash script: open multiple rar files
Dear friends,
I am a totally noob about the shell scripts. However, thinking that it is very painful to make recursive operations, I thought that I could write a script to execute the recursive operations. The one that I am fed up is opening multiple rar files. They are not split archives, just dirrerent rar files. I tried as follows: Code:
#!/bin/bash However, this script only extracts the rar archive which is the first one in the directory. I mean if I have 01.rar, 02.rar, 03.rar it only extracts 01.rar and stops. I believe there is a very small mistake I am making but I could not figure it out. Can someone give me a hand on this? Thanks in advance, chief |
Why the use of "exec" ??? - try it without.
|
All times are GMT -5. The time now is 11:31 PM. |