Page 1 of 1

Scripting Basics - Please Assist

Posted: Sun Jul 17, 2022 3:19 pm
by proactivematter
Hello everyone,

I am really new to working with CLIs and cannot figure out how to get stuff working as I intend in the terminal.

All I want is to have an executable that will:

1.) look into a folder
2.) get the MP4s inside
3.) feed the MP4s as the input
4.) output to another folder whilst retaining the original filename
5.) Also, would be awesome if it could delete the original input files once everything is completed.

As far as the HandbrakeCLI encoding settings itself, my need is pretty basic (I just need a crop) and I've already have got it working, so no assistance needed there.

Here's the folder structure:

Image

Hope that's clear

Thank you

Re: Scripting Basics - Please Assist

Posted: Sun Jul 17, 2022 4:33 pm
by mduell
HBBatchBeast may be a better solution if you can't begin to script what you're asking for.

Re: Scripting Basics - Please Assist

Posted: Tue Aug 09, 2022 2:06 pm
by floffy
I just post a Script to do it , the only thinks missing it the PROFILE create with the GUI handbrake
the BATCH file i did its possible to convert from/to another share folder