try
${streams_stream_0_duration} /usr/local/b
replaced with
${streams_stream_0_duration}; /usr/local/b
or
${streams_stream_0_duration} && /usr/local/b
if that won't work you will need to run it as 2 commands in a bash *.sh script
loop and read `cat`a file list
|