How to get a list of all pages

Hi!

I have 1380 tags, and around 300 of them are the ones I need (they are identified by a unique identifier in their name, the tag are like [[CC: X]], [[CC:Y]], etc

How can I get a list of all those pages?

I’ve tried searching All Pages but they don’t show all pages.

I’ve tried via Finder (filesystem), but not all pages are created as files (some of them only have references, but no content).

How can I get a simple list of all pages that has CC: in their names?

If you could get a list of all pages, it could be easily achieved, but I can’t find out how to do this.

Thank you very much!

You could try this. Note the CC: is lower-case.

#+BEGIN_QUERY
{
 :query [
       :find (pull ?b [*])
       :where
       [?b :block/page ?p]
       [?p :block/name ?title]
       [?b :block/properties ?prop]
       [(clojure.string/starts-with? ?title "cc:")]
       ]
  :breadcrumb-show? true      
 }
#+END_QUERY
1 Like