Delete RAR archives after extract

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
g3rman
Donor
Posts: 14
Joined: 24 Oct 2013, 16:14

Delete RAR archives after extract

Post by g3rman »

I'm using the following CLI syntax:

filebot.exe" -extract --def deleteAfterExtract=y archives=delete -rename -r -non-strict ....

However after the RAR archives are extracted they are not deleted. Any thoughts as to what maybe wrong?
User avatar
rednoah
The Source
Posts: 19128
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Delete RAR archives after extract

Post by rednoah »

The --def deleteAfterExtract=y option is specific to the AMC script. The filebot -extract call doesn't support that feature.

Generally all the --def name=value options are for passing extra variables into the script, so it's always specific to the script and may or may not be used.
:idea: Please read the FAQ and How to Request Help.
g3rman
Donor
Posts: 14
Joined: 24 Oct 2013, 16:14

Re: Delete RAR archives after extract

Post by g3rman »

Danke!

Since I'm only using a batch file to call Filebot (yes, yes, I'm not a programmer :) is there any way to delete archives or can this only be done from a script?
User avatar
rednoah
The Source
Posts: 19128
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Delete RAR archives after extract

Post by rednoah »

Not really, you'd have to copy that part from the amc script and make a new script.

Might be easier to just find a cmd that'll just delete all *.rar files for you, i'm sure you can copy a windows cmd script from somewhere that does a batch delete.
:idea: Please read the FAQ and How to Request Help.
Post Reply