cleaner script doesn't delete *.ignore files

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

cleaner script doesn't delete *.ignore files

Post by Achandab »

Hi

I am trying to delete the .ignore files left by couchpotato so i added a min file size to the cleaner script, but still the ignore files are not deleted. This is how my script looks

filebot -script fn:cleaner "/volumeUSB1/usbshare/Completed Downloads" --def minsize=2000
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cleaner script doesn't delete *.ignore files

Post by rednoah »

Added ignore to the cleaner exts. Call dev:cleaner to run the latest revision.

@see https://github.com/filebot/scripts/comm ... c34a7ddd62
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: cleaner script doesn't delete *.ignore files

Post by Achandab »

perfect. working great now thanks!

do i have to keep using the dev? or will this be updated in the future? Also will the AMC script be updated to delete the .ignore files as well?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cleaner script doesn't delete *.ignore files

Post by rednoah »

Yes, eventually. Use dev:amc in the meanwhile.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: cleaner script doesn't delete *.ignore files

Post by Achandab »

Hey mate. There's a few other extensions that the script is not cleaning up. Is there anyway we can add a list of extensions or do you want us to keep submitting them to you?

So far

.smi
.sup
.rar
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cleaner script doesn't delete *.ignore files

Post by rednoah »

You can pass your own extension list via --def parameters.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cleaner script doesn't delete *.ignore files

Post by rednoah »

Cleaner default extensions have been updated:

Code: Select all

jpg|jpeg|png|gif|ico|nfo|info|xml|htm|html|log|srt|sub|idx|smi|sup|md5|sfv|txt|rtf|url|db|dna|log|tgmd|json|data|ignore|srv|srr|nzb|rar|par\d+|part\d+
:idea: Please read the FAQ and How to Request Help.
Post Reply