Search found 2 matches

by mbutler
Thu Jul 16, 2020 5:37 pm
Forum: Command Line Interface And Scripting
Topic: [Bash]Unable to convert multiple files within a folder.
Replies: 9
Views: 3340

Re: [Bash]Unable to convert multiple files within a folder.

Wow, I didn't expect that! My scripts use ksh, so maybe I'm bypassing some of the bash behavior.

Mark
by mbutler
Wed Jul 15, 2020 5:54 pm
Forum: Command Line Interface And Scripting
Topic: [Bash]Unable to convert multiple files within a folder.
Replies: 9
Views: 3340

Re: [Bash]Unable to convert multiple files within a folder.

I presume you've tried the script without the HandBrakeCLI invocation to see if it is acting correctly?
You might also try redirecting stderr to a file to see if an error is occuring. Don't know, does bash exit a while loop if a command returns an error status?

Mark