Im pretty new to zenity and bash. Im trying to make file selection window that will display only the ones with .ogg, .aac and .wav extension. I tried this, but it doesn't work.
option=`zenity --file-selection --file-filter=*.ogg | *.aac`
For one extension it's working as intented:
option=`zenity --file-selection --file-filter=*.ogg`
Zenity man provides information:
--file-filter=NAME | PATTERN1 PATTERN2
Sets a filename filter
I dont really understand how am I supposed to use it. Can someone show me some examples?
--file-filter="*.ogg|*.aac"
– Counterpressure