I am trying to write a simple bash script that executes the command
tcprobe -i $1 where
$1 is an mp4 file. Then, I want to write the output of this command, which should be a long string of information about the video file, to a file called frameInfo.
My code currently is:
#/bin/bash echo (tcprobe -i $1) > frameInfo
However, this writes the output of
tcprobe to the file.