Store user input in a config file GUI for a BASH script
Hi, I'm trying to create a backup script. For my second version, I want to make a GUI that will ask the user three things:
1. which folders should be excluded
2. where to store the backup
3. the user's email
I need to store this input, and later input the values into variables in my script.
How do I go about doings this? I'm relatively new to bash scripting, and have no experience making a GUI.
Shell scripting isn't really designed with gui use in mind, but there are a handful of programs that you can use to generate simple pop-up dialogs. Check out xdialog, kdialog, or zenity.
|All times are GMT -5. The time now is 05:44 AM.|