Development > Scripting and Bash

df to zenity --list


This script displays the output of
--- Code: ---df -Th
--- End code ---
in the zenity list. Maybe we can use this in the future for Lite Backup or some other software.
Tricky part was to display mount when there are spaces in the disk label in the same column.
Here is the script:
Selected item will be opened in thunar.


[0] Message Index

Go to full version