11

Bash Script to make a List for Zenity/Yad

view full story
linux-howto

http://ubuntuforums.org – Need to create a list for yad (zenity) from directory listings: dir-a contains files 1,2,3,4,5,6 dir-b contains files a,b,c,d,e,f Final list (in a variable) needs to read: "1" "a" "2" "b" "3" "c" "4" "d" "5" "e" "6" "f" ( For simplicity I will always ensure that "1" goes with "a", etc.) The list can be any length. The directories may be in different place on the drive and may contain different file types. And how could this be expanded sh (Hardware)