custom short command line options?
Nick
get_iplayer at i.lucanops.net
Fri Aug 8 10:23:26 PDT 2014
On Fri, 8 Aug 2014 16:38:27 +0100
Jon Davies <jon at hedgerows.org.uk> wrote:
> You could use presets. For example:
> [blunt snip]
Cool, thanks for that. I'll have a play, I did create a wrapper but it
needs the -a switch first. Not ideal, so perhaps using presets might
be better for me.
FWIW, saved as ~/bin/gip:
#!/bin/bash
case "$1" in
"-a" )
shift
get_iplayer --modes=flashstd $*
;;
* )
get_iplayer $*
;;
esac
Cheers
Nick
More information about the get_iplayer
mailing list