Ghost Filter regex or pre-filter

Features wanted...
Post Reply
Millzey
Posts: 169
Joined: 07 Oct 2011 15:10

Ghost Filter regex or pre-filter

Post 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!!

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Ghost Filter regex or pre-filter

Post 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...
One of my scripts helped you out? Please donate via Paypal

Post Reply