[ogg-dev] oggz commandline completion
Conrad Parker
conrad at metadecks.org
Sun Aug 3 00:47:48 PDT 2008
Hi,
I just added a bash completion script to the oggz repo, please test it out:
http://svn.annodex.net/liboggz/trunk/bash-completion/oggz
Source it from your .profile, or add it to /etc/bash_completion.d to
enable it system-wide.
If you are packaging oggz-tools, please consider installing this :-)
It will complete commandline options, codec names and Ogg filenames as
appropriate:
conrad at growl:~/share$ oggz [TAB]
chop dump known-codecs scan
comment help merge sort
diff info rip validate
conrad at growl:~/share$ oggz dump --[TAB]
--binary --hide-granulepos --new --version
--content-type --hide-offset --output
--help --hide-packetno --revert
--hexadecimal --hide-serialno --serialno
conrad at growl:~/share$ oggz dump --co[TAB]
conrad at growl:~/share$ oggz dump --content-type th[TAB]
conrad at growl:~/share$ oggz dump --content-type theora bee[TAB]
beer/ bees.ogg
conrad at growl:~/share$ oggz dump --content-type theora bees[TAB]
conrad at growl:~/share$ oggz dump --content-type theora bees.ogg
You will need to be running the current svn versions of the tools, as
they now all have a "-?" option which lists out all valid options.
Also the recently added oggz-known-codecs tool is used for completion
of codec names.
cheers,
Conrad.
More information about the ogg-dev
mailing list