Code:
#!/bin/bash
# Bash Menu Script Example
folder=/home/simonmac
auths=(name1 name2 name3 name4 name5 name6)
select auth in "${auths[@]}"; do
cp $folder/auth/$auth/auth.json $folder/AppName/configs/auth.json
break
done
configs=(config1 config2 config3)
select config in "${configs[@]}"; do
cp $folder/configs/$config/config.json $folder/AppName/configs/config.json
break
done
./AppName/run.sh

Leave a comment: