Search found 5 matches

by Rocketcandy
Wed Sep 14, 2016 11:16 pm
Forum: Command Line Interface And Scripting
Topic: Automatically save to source folder?
Replies: 3
Views: 2745

Re: Automatically save to source folder?

I wrote a script for windows that does this, it would be possible to write something similar for OS X. If you want to take a look at it I have it posted here: https://github.com/Rocketcandy/ConvertUsingHandBreakCLI Probably more than you need but might give you an idea if you wanted to write your ow...
by Rocketcandy
Wed Sep 14, 2016 7:50 pm
Forum: Command Line Interface And Scripting
Topic: Help with Windows Batch Script
Replies: 1
Views: 1675

Re: Help with Windows Batch Script

The CLI Query from the GUI gives you the actual settings that the preset uses. So you could manually specify the settings by changing your command to use this: "C:\Program Files\Handbrake\HandBrakeCLI" -i "Z:\Movie\Movie.mkv" -t 1 --angle 1 -c 1-17 -o "E:\Handbrake Temp\Movi...
by Rocketcandy
Wed Sep 14, 2016 7:37 pm
Forum: Command Line Interface And Scripting
Topic: Batch converting within sub-folders, Output to 1 seperate folder
Replies: 1
Views: 1696

Re: Batch converting within sub-folders, Output to 1 seperate folder

Hi Discodools,

The Output part here: "${1%\.*}" is the original file name so all you should have to do is add the path to the front of that.

Like this:

Code: Select all

-o /some/path/here/"${1%\.*}".mp4
Let me know if that doesn't work :)
by Rocketcandy
Wed Sep 14, 2016 5:29 pm
Forum: Command Line Interface And Scripting
Topic: Powershell automated conversions
Replies: 2
Views: 1406

Re: Powershell automated conversions

Nope.

You specify they base directory that includes all the files you want to convert even if there are several levels of folders.

It will go through and find all the files over the size you specify and then convert them from largest to smallest.
by Rocketcandy
Wed Sep 14, 2016 4:32 pm
Forum: Command Line Interface And Scripting
Topic: Powershell automated conversions
Replies: 2
Views: 1406

Powershell automated conversions

I have written a powershell script that will convert files in 2 specified directories over a given size. It is on Github for easy updates and can be found here: https://github.com/Rocketcandy/ConvertUsingHandBreakCLI If you have questions or thoughts please let me know! Code as of 9/14/16 is below: ...