Saved Filename options

dinkypumpkin dinkypumpkin at gmail.com
Mon Feb 4 17:33:09 EST 2013


On 04/02/2013 22:10, YelloYeti wrote:
> Under Windows, in order to get this happening under control of the web
> PVR, I attempted to add this in the Options file ( in
> Users\Name\.get_iplayer\options ) as:
>
> command "perl -e """($new = $old = shift) =~ s/\-+\././; rename $old,
> $new""" ""<filename>"""
>
> I get the message:
>
> '"perl -e """' is not recognized as an internal or external command,
> operable program or batch file.
> INFO: Command exit code 1 (raw code = 256)
> ERROR: Command Exit Code: 1
>
> perl is in the get_iplayer directory, though not on the path, but it
> looks like it's attempting to execute "perl instead.
>
> Do I need to knock off some of the quotes when running it from options
> as opposed to from the command line?

Reply to the list, not to me.

No need for quoting quaziness in the options file. get_iplayer (via 
perl) reads the options file directly.  You can fleetingly pretend 
you're free from the shackles of 1981's hottest operating system:

command perl -e "($new = $old = shift) =~ s/\-+\././; rename $old, $new" 
"<filename>"




More information about the get_iplayer mailing list