Page 1 of 1

Skip auto extract when movie is already found

Posted: 10 Mar 2021, 22:25
by mikematau
So I'm currently facing the situation that I have the .rar files and the extracted .mkv file in one folder.
I can not change it, it is just that way.
What I would like is an option to say: if there is rar's and a (large / 700mb+?) .mkv file in the same folder, skip the extraction and take the mkv.
Is this possible to do? Would be awesome and save me a lot of extraction time..... :)

Re: Skip auto extract when movie is already found

Posted: 11 Mar 2021, 04:44
by rednoah
1.
Doesn't extraction skip files that already exist (and have the same Last-Modified date) anyway?


2.
If you're using a shell script, then you can modify your shell script and call filebot on the archive, or the mkv file, depending on the situation.

Re: Skip auto extract when movie is already found

Posted: 11 Mar 2021, 06:59
by mikematau
1. The problem is that extraction usually creates a couple of sub folders:

xyz.2019-xxx.r01
=> /xyz_xxx/xyz.2019-xxx/xyz_xxx.mkv

while the already extracted file is located in the root of the folder:
=> /xyz_xxx.mkv

So its not scipping because it does not get it.

2. that would be an option, although I dont know how to do that.... :) I'm calling filebot on the parent folder:
/media/input
and inside this folder are x sub folders:
=> /media/input/xyz.2019-xxx
=> /media/input/abc.2020-ggg
So once filebot is called, all folders insider /media/input will be checked automatically...