summaryrefslogtreecommitdiff
path: root/help/C/l10n_scripts/filesel.sh
blob: e9abe1d38788bed232b7435f66862690a8ce7ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

FILE=`zenity --file-selection --title="Select a File"`

case $? in
         0)
                echo "\"$FILE\" selected.";;
         1)
                echo "No file selected.";;
        -1)
                echo "No file selected.";;
esac