3 echo "Is there a password?(y/n)"
6 if [ $ANS = 'n' ]; then
7 for i
in *part1.rar.
*; do
11 for i
in *.part01.rar.
*; do
15 elif [ $ANS = 'y' ]; then
16 echo "Please enter the password!"
19 for i
in *part1.rar.
*; do
20 unrar e
-p"$PASS" "$i"
23 for i
in *part01.rar.
*; do
24 unrar e
-p"$PASS" "$i"
28 echo "Error! Please answer y or n!"