Think found the answer somewhere.. please alert if incorrect.
if [ $? -eq 0 ]; then #move files if conversion was a success
cp "/tmp/$fileName" "$folder/"
rm "/tmp/$fileName"
fi
Search found 5 matches
- Fri Apr 20, 2018 12:29 pm
- Forum: Command Line Interface And Scripting
- Topic: Exit return codes
- Replies: 2
- Views: 2329
- Fri Apr 20, 2018 12:07 pm
- Forum: Command Line Interface And Scripting
- Topic: Exit return codes
- Replies: 2
- Views: 2329
Exit return codes
Description of problem or question:
Cannot seem to find proper use of how to read the exit code when processing a file in Ubuntu 16.04 LTS (CLI). Has this been document somewhere?
Thank you.
Cannot seem to find proper use of how to read the exit code when processing a file in Ubuntu 16.04 LTS (CLI). Has this been document somewhere?
Thank you.
- Sun Jul 30, 2017 1:07 pm
- Forum: Command Line Interface And Scripting
- Topic: libdvdread errors
- Replies: 7
- Views: 5425
Re: libdvdread errors
DvdShrink (Latest version) was used.rollin_eng wrote: ↑Sun Jul 30, 2017 12:46 pm What did you use to copy the DVD to your disk? HB will not deal with encypted DVD's.
- Sun Jul 30, 2017 12:16 pm
- Forum: Command Line Interface And Scripting
- Topic: libdvdread errors
- Replies: 7
- Views: 5425
Re: libdvdread errors
Performing test now. have a another 30 mins before the first DVD completes. I did not perform the rip, just created a batch file to convert them all since they are about 200 of them. I believe it was the windows version of HandBreak if i am not mistaken.
- Sun Jul 30, 2017 11:58 am
- Forum: Command Line Interface And Scripting
- Topic: libdvdread errors
- Replies: 7
- Views: 5425
libdvdread errors
I am running this on a windows 10 Machine and cant explain why i am receiving these error when creating an mkv file. these are DVD format folders on local drive. I am keeping he command as simplistic as possible. Is there a switch that needs to be used? HandBrakeCLI.exe -i "\\PENTIUMG3258\Movie...