LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Store user input in a config file GUI for a BASH script (https://www.linuxquestions.org/questions/linux-general-1/store-user-input-in-a-config-file-gui-for-a-bash-script-848408/)

vaniaspeedy 12-04-2010 10:09 PM

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.

David the H. 12-05-2010 12:08 AM

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 06:46 PM.