Saved Filename options

Rob Dixon rob.dixon at gmx.com
Mon Feb 4 10:51:59 EST 2013


On 04/02/2013 14:32, dinkypumpkin wrote:
> On 04/02/2013 14:01, Rob Dixon wrote:
>> You ought to be able to say something like
>>
>>      --command "perl -e \"($new = $old = shift) =~ s/\-+\././; rename $old, $new\" \"<filename>\""
>>
>> but no matter what I do I get
>>
>>      The system cannot find the path specified.
>>
>> from the command processor, even before get_iplayer gets a look at it.
>
> Try this on Windows:
>
> --command "perl -e """($new = $old = shift) =~ s/\-+\././; rename $old, $new""" ""<filename>"""

That works fine. Thank you. But I am lost as to why. I assume this is
because of Perl command-line processing, as I get a different result
from a simple cmd file.

Rob




More information about the get_iplayer mailing list