Page 1 of 1

Delete after extraction

Posted: 22 Mar 2014, 21:52
by Muddro
Here is the uTorrent script I use:

filebot -script fn:amc --output "Z:/" --log-file amc.log --action copy --conflict override -non-strict --def music=n artwork=n "seriesFormat=/TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=/Movies/{n} ({y})" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"

After download a torrent that was archived (rar), it does as it is supposed to and extracts and copies the file. In the situation when something is extracted, is there a way to delete that afterwards?

Re: Delete after extraction

Posted: 23 Mar 2014, 00:17
by rednoah

Code: Select all

--def clean=y
Automatically empty folders and clutter files that may be left behind after moving the video files or temporary extracted files after copying

Re: Delete after extraction

Posted: 23 Mar 2014, 01:11
by Muddro
Thanks! Awesome work.

Re: Delete after extraction

Posted: 21 May 2016, 14:17
by Achandab
Just tried this and the script cleans the extracted folder after extr4acting but doesnt clean up the actual zip file. Is there a way to clean up the zip file as well?

Re: Delete after extraction

Posted: 21 May 2016, 22:08
by rednoah
Automated Media Center wrote:--def deleteAfterExtract=y Delete archives after extraction
Have you tried the deleteAfterExtract option?

Re: Delete after extraction

Posted: 22 May 2016, 02:08
by Achandab
I'll give that a go. thanks!