I found the zenity file path dialog but I how can I get the path to a folder? Any help is appreciated.
Asked
Active
Viewed 2,633 times
1 Answers
1
To get a folder's path you can use the same as for files, but adding the --directory option.
So you can run:
zenity --file-selection --directoryand then you'll obtain the path of selected folder.
You can get more info about these options issuing zenity --help-file-selection on terminal.
dgonzalez
- 7,310