Shell script to show a menu to bakup system

I’m terrible at scripting and need this for an assessment can anyone help?

Your script will give the user a menu of options in order to assist with the back up. The choices given to the user are Backup all files or Backup selected files.

If user chooses to backup all file then the files should be backed up to a new subdirectory called AllBackUp which should be created within your script.

If user chooses to back up selected files then they must input files to be backed up in a specific format e.g all files starting with the letter “a” or all files ending with “test”. These files should then be backed up to a new sub directory called SelectBackUp which should be created within your script.

If anyone could help I would be greatly appreciative

Thanks
John


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki