regenerate excludeList (after accidental removal)

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
grsjst
Posts: 4
Joined: 25 Sep 2021, 16:47

regenerate excludeList (after accidental removal)

Post by grsjst »

Hello,

I accidentally deleted my .exclude file (that was rather large). Is there a way to regenerate it without filebot reprocesses all files?

I was thinking of something like this (found on the web):

Code: Select all

find /volume1/video/ -type f | grep -E "\.webm$|\.flv$|\.vob$|\.ogg$|\.ogv$|\.drc$|\.gifv$|\.mng$|\.avi$|\.mov$|\.qt$|\.wmv$|\.yuv$|\.rm$|\.rmvb$|/.asf$|\.amv$|\.mp4$|\.m4v$|\.mp*$|\.m?v$|\.svi$|\.3gp$|\.flv$|\.f4v$|\.srt$" > .excludes
 
Would this work?

thanks,
Joost
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: regenerate excludeList (after accidental removal)

Post by rednoah »

Pretty much. It's just a list of file paths. Even just find /volume1/video/ > .excludes should do.


:idea: Here's how filebot itself can do the job:

Code: Select all

filebot -find /volume1/video/ --file-filter "f.video || f.subtitles" > excludes.txt
:idea: Please read the FAQ and How to Request Help.
Post Reply