Page 1 of 1

Remove rar using Cleaner

Posted: 23 Nov 2013, 13:23
by stealerwheeler
Hi,

First off, thanks for this amazing peice of software!

I've got everything up and running and I'm using the cleaner function to remove leftover files after renaming and moving and it works great - but I noticed just now that it's not cleaning rar files. I read that this can be changed by altering --def "exts=jpg|nfo|etc" and I suppose by adding "rar" to this line? But I'm not sure as to where I should change this line since I call the clean function in the "transmission postprocess" file (--def clean=y).

Any help would be appreciated!

Re: Remove rar using Cleaner

Posted: 23 Nov 2013, 15:21
by rednoah
You could to enable the "deleteAfterExtract" feature of AMC:

Code: Select all

--def deleteAfterExtract=y archives=delete
Though these are subject to change.

Re: Remove rar using Cleaner

Posted: 24 Nov 2013, 12:39
by stealerwheeler
Hi!

I totally missed that! Thanks for pointing me in the right direction! It works - the archives get deleted after extract. However the the folder in which the archives where in doesn't get deleted. Just to clarify, when the script is through I'm left with and empty folder. I'm calling the clean script after deleteAfterExtract=y. Any ideas?

Re: Remove rar using Cleaner

Posted: 24 Nov 2013, 13:20
by rednoah
just call the clean script later on the parent folder or something to make it delete empty folders