Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- execFunc() {
- cat <<-EOF
- 1. Backup App 1
- 2. Backup App 2
- 3. Backup App 3
- 4. Backup Everything
- Option:
- EOF
- }
- while :
- do
- execFunc;
- read -r choice
- case $choice in
- 1) backupApp1;;
- 2) backupApp2;;
- 3) backupApp3;;
- 4) backupEverything;;
- *) exit;;
- esac
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement