I got a problem with redirecting output to file.
I'm writting script in bash.
Here is the code:
function getParameters
{
echo `avprobe "$TMP_CATALOGUE/$FILE_NAME"` >> "$TMP_CATALOGUE"/file_parameters.txt
}
unfortunately, only thing i get in file_parameters.txt is:
# avprobe output
It doesn't throw any errors. When i write "avprobe file_name" in terminal, it works properly.
How should i write it to make it work?
Thank you in advance.