[Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
FalCT60
Posts: 3
Joined: Tue Dec 25, 2018 10:01 pm

Re: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)

Post by FalCT60 »

Hello,
I just discovered this thread a few days ago, and followed (I hope) all the steps described. Well, I confess I did not read the whole thread.
I run fresh new Ubuntu 20.04.
Ruby is installed, along with some other packages that were suggested.
The scripts have been downloaded and extracted into my home, in a folder named Handbrake.
Invoking HandBrakeCli --help works, so no need, I guess, to copy anything into the folder, unlike Windows and MacOS.
However, trying to launch the script fails :

Code: Select all

jean-luc@E-5540:~$ ./handbrake/hb.rb
bash: ./handbrake/hb.rb: Permission non accordée
jean-luc@E-5540:~$
and, if I sudo :

Code: Select all

jean-luc@E-5540:~$ sudo ./handbrake/hb.rb
[sudo] Mot de passe de jean-luc : 
sudo: ./handbrake/hb.rb : commande introuvable
jean-luc@E-5540:~$ 
I am doing something wrong, obviously, but I still cannot understand what.
Maybe a little help ?
Rgrds,
J.-Luc
FalCT60
Posts: 3
Joined: Tue Dec 25, 2018 10:01 pm

Re: [Script] convert episodes or main-feature from DVD or BD or convert multiple files (on any os)

Post by FalCT60 »

Well, deleting the whole directory and its content, re-unzipping and re-enabling the script as executable... and it works. :roll:
I am now going to see what I can really do with it.
Post Reply