Remove rar using Cleaner

Any questions? Need some help?
Post Reply
stealerwheeler
Posts: 6
Joined: 23 Nov 2013, 13:11

Remove rar using Cleaner

Post 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!
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Remove rar using Cleaner

Post 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.
:idea: Please read the FAQ and How to Request Help.
stealerwheeler
Posts: 6
Joined: 23 Nov 2013, 13:11

Re: Remove rar using Cleaner

Post 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?
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Remove rar using Cleaner

Post by rednoah »

just call the clean script later on the parent folder or something to make it delete empty folders
:idea: Please read the FAQ and How to Request Help.
Post Reply