Results 1 to 2 of 2
How to create an automated bash script to the following specification:
Display menu until user quits the script. The menu should display the following options:-
a. create backup
b. restore ...
- 01-22-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
Bash Menu Script To Create and Restore Backup
How to create an automated bash script to the following specification:
Display menu until user quits the script. The menu should display the following options:-
a. create backup
b. restore backup
c. quit
For option a or b user would required to specify name of the files and name of the archive.
The script should also have an option to run with use of parameters, if that is the case it will not display menu but carry out required task unless it was not possible to do so.
In case of any errors are encountered it would call external script that would display custom designed error screen.
The script must include a use of parameter passing, conditional statement and at least one loop.
PLEASE HELP GUYS...!!!!
- 01-24-2011 #2Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
Check out this site. It has all the info you need.
link


Reply With Quote