Filebot.sh with SSH

Support for Ubuntu and other Desktop Linux distributions
Post Reply
GreenLantern81
Posts: 41
Joined: 29 Mar 2020, 07:40

Filebot.sh with SSH

Post by GreenLantern81 »

I feel stupid....

Ive tried to read guides and other peoples question but i dont get it!

I have an folder on my seedbox (No Root). In that folder i have movies that i want to process in filebot. I use filebot on windows and run the movies manually every day. I would like to make this like an cron job on my seedbox instead.
The command i use in the GUI is:

Code: Select all

move/movies/{n[0]}/{n.sortName('$2, $1')} ({y})/{fn}

HOW do i use this on my seedbox. I use SSH and understand that i must use

Code: Select all

./filebot.sh
But how do i use my GUI commands? Do i create a script file like script.groovy and place it in my Filebot folder?
I thought it should be something like this to run the cript:

Code: Select all

./filebot.sh -script /home/USER/filebot-portable/script.groovy --output "/home/USER/files/Downloaded/move/movies/" --action move --conflict skip -non-strict -trust-script
But that didnt work, please someone guide or help me in the right direction!
Last edited by GreenLantern81 on 30 Mar 2020, 20:07, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot.sh with SSH

Post by rednoah »

I'd start with the filebot command-line tool manual:
https://www.filebot.net/cli.html
:idea: Please read the FAQ and How to Request Help.
GreenLantern81
Posts: 41
Joined: 29 Mar 2020, 07:40

Re: Filebot.sh with SSH

Post by GreenLantern81 »

Thanks! I will check it out!
GreenLantern81
Posts: 41
Joined: 29 Mar 2020, 07:40

Re: Filebot.sh with SSH

Post by GreenLantern81 »

I got it! The only thing i cant get right is processing subfolders.
Can someone please help me!

Im using this:

Code: Select all

./filebot.sh -rename --format "{n[0]}/{n.sortName('$2, $1')} ({y})/{fn}" /home/dennis800121/files/Downloaded/move/movies/
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot.sh with SSH

Post by rednoah »

Code: Select all

$ filebot -help
...
-r                                     : Recursively process folders
:idea: Please read the FAQ and How to Request Help.
GreenLantern81
Posts: 41
Joined: 29 Mar 2020, 07:40

Re: Filebot.sh with SSH

Post by GreenLantern81 »

Thank you so much! This tool is amazing!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot.sh with SSH

Post by rednoah »

GreenLantern81 wrote: 31 Mar 2020, 06:51 Thank you so much! This tool is amazing!
You've barely started to scratch the surface~ :lol:
:idea: Please read the FAQ and How to Request Help.
Post Reply