Board index Scripting and Automation How to extract and rename?

How to extract and rename?

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc

Post 16 Apr 2012, 12:43

Posts: 25
I would like to extract rar files from a fix folder to a fix folder and rename them in one step.
Since I have no clue how to realise this it would be nice if someone can lend me a hand with it.
Greets XadoX

Post 16 Apr 2012, 12:55
rednoah User avatar
The Source

Posts: 2076
Location: 北京

filebot -extract /path/to/archives/ --output /output/folder/
&&
filebot -rename /output/folder/ --output /path/to/final/destination/
FileBot is free software. Please help support FileBot by writing a review or considering a donation.
Image

Post 17 Apr 2012, 05:38

Posts: 25
Thx. Is there also a way to extract the files to series name folders?

Currently I am extracting the files with WinRar. Then I move the files to the NAS in the right series folder. And finaly I rename them with FileBot.
Greets XadoX

Post 17 Apr 2012, 06:18
rednoah User avatar
The Source

Posts: 2076
Location: 北京

Extracting does't apply any special series/movie matching logic. You can script things the way you want if you really need to.

EDIT: FileBot can move files into any folder structure. Just define your template --format as absolute path. e.g. X:/TV/{n}/Season {s}/{episode}
FileBot is free software. Please help support FileBot by writing a review or considering a donation.
Image

Post 17 Apr 2012, 07:31

Posts: 25
Thx for the feedback.
Greets XadoX


Return to Scripting and Automation