Page 1 of 1

Unrar folder content and move entire folder after

PostPosted: Sat Jan 16, 2016 6:11 am
by Frank90
[url][/url]Having a torrent file-queue.

Sometimes the folder contains rar-files (r00, r01 ...)
Sometimes the folder contains only rar file (.rar)
Sometimes there is no rar file.

Trying to determine this and move files along so that in the final folder I have unarchived files only.

I am not getting this to work.

01 FILM - SEEDAR (MOVING FILES WITH COPY FROM HERE FOR SEEDING - WORKS)
02 FILM - R00 (I would like to unrar if there is r00 files here, and/otherwise move along to folder 03 with move)
03 FILM - RAR (I would like to unrar if there is rar files here, and/otherwise move along to folder 04 with move)
04 FILM - IMG_ISO (I would like to unarchive if rar-file had an IMG or ISO file, and/otherwise move along to folder 05 with move)
05 FILM - ADD TAG TO FILE (Here MakeMKV script takes over and makes an MKV of VIDEO_TS folders)

Image

Image

Image

Re: Unrar folder content and move entire folder after

PostPosted: Mon Jan 18, 2016 12:09 pm
by Mr_Noodle
Your 02 rule is incorrect. There you are saying you want to unarchive the folder that contains an r00 file. Get rid of the nested condition and just use "extension is r00" so you can unarchive the rar file directly. Note that unarchive does get rid of the original archive file and replaces it with the contents. That means the Move afterwards will move whatever is unpacked which I believe is what you want.

I don't understand what you are trying to do with 04 and iso. Can you provide more details?