Page 1 of 1

Delete RAR archives after extract

Posted: 30 Jan 2014, 16:17
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?

Re: Delete RAR archives after extract

Posted: 30 Jan 2014, 16:39
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.

Re: Delete RAR archives after extract

Posted: 30 Jan 2014, 16:52
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?

Re: Delete RAR archives after extract

Posted: 30 Jan 2014, 17:05
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.