You can search a specific word or tag accross filter lists, just as you would do with a search engine.
To search for filter lists that block tracking, for instance, we would run:
tblock -Q "tracking"
tblock --search "tracking"
In automated scripts, you may want to get only the name of the filter lists and not other information about them. That's where the
--quiet option becomes useful:
tblock -Qq "tracking"
tblock --search --quiet "tracking"
Just as with the listing operation, the four options
--not-subscribing can be added to the search operation to filter the results.
For instance, if we wanted to search for blocklists that block ads and that we are not subscribing to, we would run:
tblock -Qz "ads"
tblock --search --not-subscribing "ads"
If we want to search for filter lists that include
easylist, that are available in the repository index and that we are subscribing to, we need to run:
tblock -Qwk "easylist"
tblock --search --on-repo --subscribing "easylist"
We can also display information about a specific filter list (such as name, whether we are subscribing to it, tags, source, license, rules count, etc.). Assuming we want to get information about
easylist, we have to run:
tblock -I easylist
tblock --info easylist