Page 1 of 1

Ghost Filter regex or pre-filter

Posted: 05 Aug 2018 17:21
by Millzey
I have many root folders that I want to use the ghost filter on, for a half dozen or so wildcards such as *.txt,*.jpg recursively

For each folder I want to add to the ghost filter, I have to copy/paste/edit a half dozen lines when editing the ghost filter.

It would a major convienence to simple have a regex line, or a pre-filter like color filters have (ex. //|filter:c:\temp ) to easily add a new folder for a range of wildcards to hide.

Is this the proper approach for what I want to do or am I overlooking another method? Can I add these folders to a paperfolder and then ghost filter the paper folder?

Thanks!!

Re: Ghost Filter regex or pre-filter

Posted: 05 Aug 2018 17:28
by highend
Can I add these folders to a paperfolder and then ghost filter the paper folder?
Sure you can. Just write a simple script for that

01. Read the contents of the paperfolder
02. Replace <crlf> with |. Replace "[" with "[[]"
03. Feed the sc ghost(<your filter definition>, 1) with it...