I have a small bash menu for carrying out various tasks, i'd like to add in a backup option with different locations i'm using the following code
echo "Backup Control"
select CHOICE in 'Backup System' 'Backup Home'
case "$CHOICE" in
After i've selected 'Backup System' or 'Backup Home' i'd like it to give me the option of a location ie
2) External Disk
ie local would be /backups external disk would be /dev/sda1 what i'd like to know is how to create this extra bit of the menu. I'm guessing it would be using read and if?