Linux Today: Linux News On Internet Time.

More on LinuxToday

Zenity Brings a Little GUI Goodness to Linux Shell Scripts

Sep 03, 2009, 19:47 (1 Talkback[s])
(Other stories by Paul Ferrill)

"The find command is easily one of the handiest Linux commands but can also be one of the most frustrating. To search for all the picture files on your local drive you would type something like:

$ find . --name "*.jpg" --or --name "*.png"
Easy enough, but the result might not be what you want if you have lots of pictures. One quick way to add a little GUI list box to present the results in a more pleasant way would be as follows:
$ find . --name "*.jpg" --or --name "*.png"
|zenity --list --column "Pictures"

Complete Story

Related Stories: