dcsimg
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)

WEBINAR:
On-Demand

How to Help Your Business Become an AI Early Adopter


"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:


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.