I’m trying to capture dvdauthor’s output to a file.
So far i found this command but it’s not working:S
dvdauthor -x dvdauthor.xml > output.txt
Any kind of idea is really appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It looks as though dvdauthor prints a lot of output to stderr rather than stdout. I don’t have this software myself and so can’t be sure but I see a lot of this in (what I presume to be) the source code, which suggests that it’s printing informational messages to stderr rather than stdout:
The > redirect will only redirect stdout to file. To redirect stderr to file, you can use ‘2>’
Try:
You might find the BASH programming introduction useful for more info on redirecting output: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html